Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article provides some tips for troubleshooting issues that involve service authentication.
When you troubleshoot service authentication issues, there are a few basic and common procedures that can help resolve the issues that are most often encountered. These procedures also provide a hands-on demonstration of how the authentication mechanism works. This article includes instructions and also lists a few common issues that users have encountered so far.
Go to https://jwt.io, and paste the JWT into the input panel.
View the contents in the form of name-value pairs. See the example that follows.
Verify that the following information is correct:
"aud" – The value corresponds to the Microsoft Microsoft Entra resource concept. Here are some typical issues that involve "aud":
"appid" – The value corresponds to the Microsoft Entra Native Client App ID (or Service App ID).
"upn" – The value corresponds to the user who is being authenticated through a Native Client App.
You might encounter a 401 Unauthorized error because client application tokens lack security compliance. To troubleshoot the issue, check the following items:
The tid
segment of the JSON web token (JWT) might contain a Microsoft Entra ID value other than current environment. The tid
segment must contain the current Microsoft Entra ID value. Make sure that the token is acquired from the current environment, Microsoft Entra.
The oid
segment of the JWT might be absent. The oid
claim must be set in the token. Confirm that the client application is provisioned in your Microsoft Entra by having a service principal in Microsoft Entra. For more information, see Multitenant apps without a service principal in the Microsoft Entra ID tenant. Make sure the access token being acquired should be from your tenant endpoint and not your organization endpont.
Example tenant endpoint: https://login.microsoftonline.com/{yourtenant}
Example organization endpoint: https://login.microsoftonline.com/organizations
The aud
segment of the JWT might contain an appId value or a URL other than the environment URL. The aud
value must be the environment URL. For more information, see Tokens without an environment URL in finance and operations apps.
You can also look at the event logs of the instance machine, if you have access to the virtual machine (VM).
Start Event Viewer by running the eventvwr command from the Run window.
Go to the following channels:
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreTraining
Module
Troubleshoot authentication and access control issues in Microsoft Azure - Training
Microsoft Azure has a sophisticated authentication and access control system to provide high security. Microsoft Entra authentication includes Self-service password reset, Multi-Factor Authentication, hybrid integration, and passwordless authentication. AZ720 AZ-720 az-720 networking
Certification
Microsoft Certified: Identity and Access Administrator Associate - Certifications
Demonstrate the features of Microsoft Entra ID to modernize identity solutions, implement hybrid solutions, and implement identity governance.
Documentation
Service endpoints overview - Finance & Operations | Dynamics 365
Learn about the service endpoints that are available, including a table that lists services avaialable for various service endpoints.
Data management package REST API - Finance & Operations | Dynamics 365
Learn about the data management framework's package REST API, including a table that outlines recurring integration APIs for various decision points.
Custom service development - Finance & Operations | Dynamics 365
Learn about how to create a custom service including an oultine and key changes of SOAP-based custom services.