Get-PnPTenant is throwing unauthorized error

164 Views Asked by At

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

enter image description here

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

enter image description here

can somebody please help us why this is happening.

Thanks

0

There are 0 best solutions below