[BUG] Invoke-PnPSiteTemplate Access Denied error at A2ODMountCount Field
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
I tried deploying this app https://github.com/OfficeDev/microsoft-teams-apps-requestateam
When I got following error:
Invoke-PnPSiteTemplate : Zugriff verweigert. Sie haben keine Berechtigung, diesen Vorgang auszuführen oder auf diese Ressource zuzugreifen.
In C:\Users\b.xxxx\xxxx\Persönliche Ordner\xxxxxx\xxxx\microsoft-teams-apps-requestateam-master\Deployment\Scripts\deploy.ps1:357 Zeichen:9
+ Invoke-PnPSiteTemplate -Path (Join-Path $packageRootPath $tem ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Invoke-PnPSiteTemplate], ServerUnauthorizedAccessException
+ FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Site.InvokeSiteTemplate
It's an Access Denied Error. The Progress bar tells me that the error accourse at Fields (LookupFields) with the Field A2ODMountCount.
I tired commenting out the Settings in the Template as sugested here https://github.com/pnp/pnpframework/issues/193 but it didn't solve the problem.
I read here https://github.com/pnp/sp-dev-modernization/issues/439 that this A2ODMountCount Field is fairly new so maybe this is connected to this error?
Bear with me if I am completely wrong.
I appreciate every help i can get.
requestateam-sitetemplate.txt
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure at Deployment/Scripts/deploy.ps1 line 357, where Invoke-PnPSiteTemplate processes the supplied requestateam-sitetemplate.txt. Inspect the Fields/LookupFields progress around A2ODMountCount and compare the linked PnP Framework and modernization issues. Done means identifying the cause of the Access Denied error and documenting or validating a supported resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100