AADSTS700016 #4306
Unanswered
gituserfab
asked this question in
Q&A
AADSTS700016
#4306
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I'm trying to register an app to limit the access to other SharePoint sites.
So trying to do:
$siteUrl = “https://xxxx.sharepoint.com/sites/CollabTeamTestEnvoriginal”
$clientId = “1111-7bfb-48a8-8a53-4771546ac791”
$certThumbprint = “111185C6CE143F43CF372C001C03E4D8134F25”
$tenant = “xxxx.onmicrosoft.com”
Connect-PnPOnline -Url https://xxxx.sharepoint.com/sites/CollabTeamTestEnvoriginal -Interactive$siteurl -PermissionId $ (($PermissionId).Id) -Permissions “FullControl”
$writeperm = Grant-PnPAzureADAppSitePermission -Permissions “Write” -Site $siteUrl -AppId $clientId -DisplayName “Automatic Software Documentation in Sharepoint”
$PermissionId = Get-PnPAzureADAppSitePermission -AppIdentity $clientId
Set-PnPAzureADAppSitePermission -Site
Error:
AADSTS700016: Application with identifier '31359c7f-bd7e-475c-86db-fdb8c937548e' was not found in the directory
We had the Pnp registered in Azure to work as before, but now we can't use it with the interactive.
I also have the app registered with a Sites.Selected permission given
Any help you can give?
Beta Was this translation helpful? Give feedback.
All reactions