Open thuld opened 4 years ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
I'm having the same issue.
Using Connect-PnPOnline -AppId "xxxx" -AppSecret "xxxx" -Url "https://tenant.sharepoint.com/sites/anysite"
And then Apply-PnPTenantTemplate
gives error Apply-PnPTenantTemplate : The remote server returned an error: (401) Unauthorized
The App in Azure AD has the following API Permissions:
//Fredrik
Reporting an Issue or Missing Feature
Reporting an issue
Expected behavior
Get web object of site-collection
Actual behavior
Error message:
Steps to reproduce behavior
I try to get the web-object using the following code:
-UseWebLogin is used because we are using MFA
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.15.1911.0
How did you install the PnP-PowerShell Cmdlets?