Forum Discussion
salvijansen
Sep 07, 2019Copper Contributor
AADSTS500011 The resource principal named was not found in the tenant
Although it is less obvious in the desktop version than it is in the online version of Microsoft Teams, both are throwing authentication related errors when you have sideloaded a development version of your app, like prefetchAuthTokenForApp failure and AADSTS500011 (the latter one also mentioned by faquino here). Not sure whether it is only for multi-tenant apps, but mine is at least.
It doesn't seem to actually block me from following the authentication flow to get an idToken but it sure doesn't look nice. Is it an expected behavior that will automatically go away once your app is in the store?
Attempting to handle adal response: error:AADSTS500011: The resource principal named [appURL] was not found in the tenant named [currentTenantID]. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant., resource: [appURL], error mapped to action:resourceDisabled
The tenant I'm testing it on has all possible switches set to Allow in terms of app side-loading.
7 Replies
Sort By