The azureADPreview module is where new updates are shipped first. E.g., the cmdlet Get-AzureADAuditSignInLogs is available only in the Azure AD Preview module as of today. To install the preview version of the module, you can replace the module name with AzureADPreview in the Install-Module cmdlet.
Todo this I need to manually add the Module to the Azure Automation Account. When trying to import the zip folder of files ( -us/powerapps/administrator/powerapps-powershell#installation) i get a "Importing of module failed" message with an error of:
What i'm struggling with is how I now replicate this using code using an Azure Runbook which we will used to automate some admin tasks we have. I can't find a way of importing the modules needed into the Modules container within the Azure Automation Account which is needed for me to use the cmdlets ( -us/azure/automation/automation-runbook-gallery)
df19127ead