Thursday, August 18, 2022

Get OAuth2 Token to WebAPI using Azure AD

How to call API endpoint protected by Authentication and Authorization and get 200 OK instead of 401 Unauthorized?
  • Created minimal API in Visual Studio 2022 with auth backed by Azure AD
  • This registers API app with Azure AD and writes to app settings file: Azure client id, AD domain, Tenant ID, scope
  • Created API request in Postman with https://localhost:1234/endpoint URL
  • Getting 401 Unauthorized
  • Add Auth2.0 configuration
  • Requires registering Client App in Azure AD

Gotchas

Client ID has to be registered in Azure AD App registrations and added to the list of clients for API

Client Secret has to be created in Azure AD

The scope entered as data.read in Azure has to be entered with fully qualified form in Postman Scope: https://GuznerConsulting.onMicrosoft.com/WebApi/data.read

Wednesday, June 22, 2022

Cognizant Career Management

Cognizant will send employees an email inviting to GoPerform. GoPerform https://onecognizant.cognizant.com/Home?GlobalAppId=1989 GoPerform is also known as MyCareer App includes Profile and SkillUp. Profile is where you list your existing skills. The Profile Status should show 100%. To complete profile: add skills then click Provile Complete button. SkillUp (link to My Learning Studio) is where you setup a development plan (select a course you plan to take). https://onecognizant.cognizant.com/Home?GlobalAppID=1738 SkillUp has a video tutorial explaining the process of setting your goals. A plan must be submitted. Then you take the course. Associates set their development plan based on goals set by the business unit. Goal setting is due on 29 April. You are requested to complete goal setting at the earliest to avoid last minute hold-ups. Log in to GoPerform and Go to the My Goals page. Review your pre-populated Organizational Metrics in Section 1. Review your pre-populated Key Role Outcomes in Section 2. Discuss with your Manager if this section requires changes. Consider what you hope to accomplish till June 2022. Break down larger goals into smaller targets and ensure they’re SMART – specific, measurable, achievable, relevant and time bound. View the Goal Setting Flipbook for help in crafting effective goals. Discuss these goals with your manager, along with your action plans to achieve them. Add them as Deliverables in Section 3 of your My Goals page in GoPerform. Review your Deliverables frequently. Update their status on GoPerform, seek feedback from relevant stakeholders, add notes and have regular conversations with your manager about your progress. For more resources on how to set effective goals, why it is essential to do so and instructions on how to use GoPerform, leverage the Goal Setting Kit. Although the deadline for goal setting is April 29, GoPerform will be open for modification of existing goals and addition of new goals throughout the half-year period. Please visit the Navigator app for more details. For managers Manager can open MY TEAM ROLE DEVELOPMENT PLANS (RDPS) It may display No active RDP generated...