Today I tried to move one of my PowerShell scripts that I was running as a scheduled task to my Azure Functions. Remembering how I did this a while back with some PnP PowerShell scripts I knew that Azure Functions could do this. I found quite quickly that the preview functionality looked like turning into … Continue reading Azure Functions – Is PowerShell preview turning into PowerShell deprecated?
Apply-PnPProvisioningTemplate stuck Today I used PnP PowerShell to provision one of my sites. For some reason my Apply-PnPProvisioningTemplate CmdLet just didn't want to run properly. Every time I ran Apply-PnPProvisioningTemplate it would just hang on Initializing engine. I enabled the debugging for my PnP Powershell, but still I didn't have much luck finding out what was happening. … Continue reading PnP PowerShell – Apply-PnPProvisioningTemplate stuck on initializing engine
Have you had flow connection expire? For example when your flow owners use MFA and it is time to re-authenticate? Would you like to get alerted before you get to the Fix Connection situation? PowerApps and Flow PowerShell might be able to help you. [code lang=text] (Get-PowerAppConnection).Internal.properties [/code] The above command gives … Continue reading Microsoft Flow – Get an alert before connections expire and flows fail.
Sometimes you run into an issue that is difficult to resolve. Recently I've been running a PowerShell script that needs to create 6000 site collections and even more sub sites within each site collection. Each of these site collections and sites have small adjustments made to them as a few custom lists and libraries are … Continue reading SharePoint – Install-SPUserSolution fails on slow or busy systems
Today I tried to install PnPPowerShell within an Azure PowerShell Environment. In the past I tried just to copy all files in a folder within my Azure environment and user $env:PSModulePath to include the PowerShell Module. But now that it is possible to use Install-Module within a normal PowerShell session you would hope that this … Continue reading Azure Powershell – Install PnP PowerShell using InlineScript within a release definition in VSTS