'AADSTS700016: Application with identifier '31359c7f-bd7e-475c-86db-fdb8c937548e' was not found in the directory #1529
|
Since yesterday, I have been receiving the following error message when attempting to start a login by using Username Password Authentication: “Microsoft.Identity.Client.MsalServiceException: 'AADSTS700016: Application with identifier '31359c7f-bd7e-475c-86db-fdb8c937548e' was not found in the directory..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 may have sent your authentication request to the wrong tenant” We check the configs, but all values are set correct… using AnalyseSPItemBySearch.Logic; namespace AnalyseSPItemBySearch } I would be very grateful for any help. |
Replies: 2 comments 1 reply
|
This issue occurred because of security change in Pnp: Due to which your code started to fail with error:
|
|
Thanks for Support!!! |
This issue occurred because of security change in Pnp: Due to which your code started to fail with error:
https://pnp.github.io/blog/post/changes-pnp-management-shell-registration/ where we do not allow multi tenant pnp app.
Hope this helps.. Mark it as answer if problem is resolved.