Get-Pnptenant Is Throwing Unauthorized Error

We are using the Connect-PnPOnline, to connect with sharepoint using the CBA(application Id and secret). And the app has the necessary permissions and SharePoint admin role too. image

While running the Get-PnPTenant it is giving the following error: image

can somebody please help us why this is happening.

Thanks

3
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article