Issue running Invoke-PnpSiteTemplate inside azure automation
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
Using Invoke-PnPSiteTemplate inside Azure Automation Runbook.
the script runs successfully locally, but when running inside Azure Automation, get the error below when Invoke command is run.
Method not found: 'System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1Boolean Enumerator.MoveNextAsync()'.
The template was generated using get-pnpsitetemplate
The template has few components:
- Documents library (folders and files).
- Events web part along with sp list.
- Quick links web part.
- Two text web part.
- Countdown timer web part.
Pnp version 1.6
Thanks
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 with the Invoke-PnPSiteTemplate entry point in an Azure Automation Runbook and compare it with the successful local run, including the PnP version 1.6 and runtime environment. Use the supplied provisioning template, generated by Get-PnPSiteTemplate, to reproduce the ConfiguredValueTaskAwaitable error. Done means identifying the runtime or dependency mismatch and documenting a confirmed compatible setup or fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100