Azure automated tenant provisioning of Teams and SharePoint. #186
-
Hi - My goal is to create an automated system which uses Azure Automation Account to provision Teams to an Office 365 tenant; update the connected SharePoint site with some default libraries; update the Team with default Team with additional channels and so on. You'd say that the command Invoke-PnPTenantTemplate is the best for this and so I'm building my soltion around that.
and want to connect to the tenant using:
The problem is that after the command I ALWAYS get the error: Invoke-PnPTenantTemplate: AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope graph.microsoft.com/.default is not valid. I have no idea where to look to solve this issue Does anyone have the magic key to solve this puzzle for me. I'm using Paolo's XML-files described in this blogpost |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Which version of the cmdlets do you use? We have done fixes in PnP PowerShell that surfaced as the error you're describing. Please install the latest nightly build, which should fix your issue: Update-Module -Name PnP.PowerShell -AllowPrerelease |
Beta Was this translation helpful? Give feedback.
Which version of the cmdlets do you use? We have done fixes in PnP PowerShell that surfaced as the error you're describing. Please install the latest nightly build, which should fix your issue: