Office 365. Sales Order fails:
"error":"invalid_request","error_description": "AADSTS50178: User account 'user@resellerDomainCSP.onmicrosoft.com' from identity provider 'https://sts.windows.net/a3831efe-...-8128a3717143/' does not exist in tenant 'End-customer organization' and cannot access the application 'cde22860-...-08622a196d0c' in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.'
The same error can be faced on attempt to use the
There might be several reasons:
- Azure AD Native Applications are not configured correctly;
- Permission issue on the Microsoft side.
Steps to resolve the case:
- Check instructions from the Registering Native Apps for Partner Center and Graph APIs are done completely and both Native Applications are configured correctly;
- In case step 1 is done, please contact Microsoft support with complete error message provided.