Tag: Graph
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 ASP.NET on Azure
In my last post I talked about calling Microsoft Graph endpoints using an Azure managed identity from PowerShell Universal. This post is about doing the same thing from an ASP.NET web application on .NET 6.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!