You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, Hope everyone is doing well, I am trying to get the data using the Get-PnPTenant site using app registration,
I have created the certificate and uploaded it to the application
I have applied the relevant Graph API App permissions to the App
And even gave the application Share-point Admin and Global Admin Role as well.
I am able to successfully connect to the Sharepoint Admin Center. However I do get warning signs to update the PnP Module despite running the Update-Module multiple times as admin
When I run the Get-PnPTenantID I do get my Tenant ID as the output however when it comes to the running the Get-PnPTenant I get the 401 error
I am running this on my windows machine
I similar bug was reported #3549 and the fix was to Set-SPOTenant -DisableCustomAppAuthentication $false
However in this case since I have to use it to run on other tenants I may not be able to use the above command-let and need to leverage app registrations to get it to work
If any one case point me in the right direction I would be greatful
The text was updated successfully, but these errors were encountered:
Hello, Hope everyone is doing well, I am trying to get the data using the Get-PnPTenant site using app registration,
I have created the certificate and uploaded it to the application
I have applied the relevant Graph API App permissions to the App
And even gave the application Share-point Admin and Global Admin Role as well.
I am able to successfully connect to the Sharepoint Admin Center. However I do get warning signs to update the PnP Module despite running the Update-Module multiple times as admin
When I run the Get-PnPTenantID I do get my Tenant ID as the output however when it comes to the running the Get-PnPTenant I get the 401 error
I am running this on my windows machine
I similar bug was reported #3549 and the fix was to Set-SPOTenant -DisableCustomAppAuthentication $false
However in this case since I have to use it to run on other tenants I may not be able to use the above command-let and need to leverage app registrations to get it to work
If any one case point me in the right direction I would be greatful
The text was updated successfully, but these errors were encountered: