Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SharePoint PnP PowerShell Online Automation Module #136

Closed
SPB21 opened this issue Aug 25, 2020 · 2 comments
Closed

SharePoint PnP PowerShell Online Automation Module #136

SPB21 opened this issue Aug 25, 2020 · 2 comments

Comments

@SPB21
Copy link

SPB21 commented Aug 25, 2020

@alexc-MSFT, the DeployAutomationAssets function adds the SharePoint Pnp Module for version 3.12.1908.1. If i wanted to use the latest version 3.24.2008.1 how can i get the link from the devopsgallerystore? I am able to go into the module gallery for the deployed automation account and install the latest version that way but wanted to know if it could be done via the deployment script

New-AzAutomationModule -AutomationAccountName $automationAccountName -Name "SharePointPnPPowerShellOnline" -ContentLink "https://devopsgallerystorage.blob.core.windows.net/packages/sharepointpnppowershellonline.3.12.1908.1.nupkg" -ResourceGroupName $ResourceGroupName

@pkbullock
Copy link

pkbullock commented Aug 26, 2020

@SPB21 just change the file to "sharepointpnppowershellonline.3.24.2008.1.nupkg"

@alexc-MSFT - I have submitted a new sample to the PnP PowerShell repo for setting up Azure Automation with the modules, runbooks, Azure AD app - pnp/PnP-PowerShell#2835 - this uses the latest app-only certificate method

Prior to July 2020 releases do not work because of a fault in the MSAL libraries crashing azure automation, this was fixed in latest versions.

@SPB21
Copy link
Author

SPB21 commented Aug 27, 2020

Thanks @pkbullock

@SPB21 SPB21 closed this as completed Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants