OfficeDev / microsoft-teams-apps-requestateam

Power Platform based solution that allows users to request teams and automates team creation. NO LONGER MAINTAINED. Please use 'Provision Assist' - https://github.com/pnp/provision-assist-m365/ instead.
MIT License
235 stars 66 forks source link

Invoke-PnPSiteTemplate : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) #378

Open pauld-apexdigital opened 2 years ago

pauld-apexdigital commented 2 years ago

Description

Getting this error, re-installed PNP mod, to latest version same error.

Invoke-PnPSiteTemplate : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) At C:\scripts\Request a Team\microsoft-teams-apps-requestateam-1.1.0\Deployment\Scripts\deploy.ps1:367 char:9

Steps to reproduce

1.Logged in as Admin, run script as instructed 2. 3.

Expected results

Template Applied

Actual Results

Invoke-PnPSiteTemplate : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) At C:\scripts\Request a Team\microsoft-teams-apps-requestateam-1.1.0\Deployment\Scripts\deploy.ps1:367 char:9

Solution component

Deployment Script

Operating system (environment)

Windows

Additional Info

No response

yazengma commented 1 year ago

Hitting this bug, any comments with regards to this. image