🔐 Assigning API Permissions to Managed Identities in Azure

If you’re using Azure Managed Identities and want to assign Microsoft Graph API permissions — here’s how to do it securely using PowerShell. No secrets. No manual portal work. Just automation and the principle of least privilege. 🧩 Step 1: Connect to Microsoft Graph Connect-MgGraph -DeviceCode -Scopes "AppRoleAssignment.ReadWrite.All", "Application.Read.All" What it does: Authenticates your session to Microsoft Graph with the right scopes to read and assign app roles. 💡 You’ll be prompted with a device code login. ...

April 6, 2025

Learning Resources

Resources PowerShell Books Learn PowerShell in a Month of Lunches A beginner-friendly book that introduces PowerShell concepts in manageable lessons. Learn PowerShell Toolmaking in a Month of Lunches The best way to learn PowerShell scripting and toolmaking in just one hour a day. PowerShell Scripting and Toolmaking A deep dive into advanced scripting and tool creation with PowerShell. The PowerShell Conference Book A collection of PowerShell tips and techniques from experts in the field. ...

April 1, 2025 · 1 min