Tag: Universal
Get Planner Data with PowerShell Universal
Recently, the Graph team introduced the ability to access Planner as an application, rather than as a human. That means we were able to give PowerShell Universal the ability to read plans, tasks etc and surface them as an API endpoint.Calling MS Graph from PSU on Azure
The Microsoft.Graph PowerShell module wraps up all the Graph endpoints in PowerShell functions, but for security reasons, the Connect-MgGraph function doesn’t allow for stored (secret) credentials. However, since we host PowerShell Universal as an Azure App Service, and we have a managed identity for that app service, we can connect to Graph as the app!PowerShell Universal Startup Script
I’ve been playing with PowerShell Universal for almost a year now, and I thought this would be a great place to share some tips, tricks and scripts that have helped me out. And what better place to start than the initialize.ps1 script? That’s the script that runs right before the PSU server starts. The script lives in the .universal folder inside your Repository folder, so create it if it doesn’t exist already.