• Skip to primary navigation
  • Skip to content
  • Skip to footer
IAM Specialist Azure AD Identity and Access Management
  • Conditional Access
  • Graph Scripts
  • Graph Permissions
  • Exchange Scripts
  • KQL
  • B2C
  • Posts
  • About

    Microsoft Graph PowerShell

    Examples and scenarios for using the Microsoft Graph SDK for PowerShell.

    Chris Dymond

    Chris Dymond

    Cyber Security, Azure AD, Identity and Access, Software Engineering.

    • Perth, Western Australia
    • GitHub
    • LinkedIn
    • Email

    Update

    For the latest version of this code please visit msgraph-sdk-powershell-examples.

    Deprecated Content

    Examples and scenarios for using the Microsoft Graph SDK for PowerShell.

    • Invoke-RestMethod
      • Microsoft Graph
      • Access Token via Automation Account
      • Access Token via Client Credentials
      • Access Token via Device Code
    • Application Registrations
      • All
      •   Web With Implicit Flow
      •   With Credentials
      •   Without Owners
    • Audit
      • Application Device Signins
    • Groups
      • All Cloud Only
      • Members
      • Set Membership
    • Managed Identities
      • All
      • Granting Microsoft Graph App Roles
    • Policies
      • All Claim Mapping
      • Create Claim Mapping
      • All Conditional Access
    • Users
      • Create
      • Get All
      •   Assigned Licenses
      •   Cloud Only
      •   Capable of MFA
      •   Capable of Passwordless
      •   Capable of SSPR
      •   Guests
      •   Last Sign-In
      •   Where Authenticator Passwordless
      •   Where ExtensionAttribute Is Value
      •   Where Registered FIDO2
      •   Where SMTP ProxyAddress Is Value
      •   Where UPN Starts With
    • Red Team
      • All SPA With Passwords
      • Finding Global Administrators

    Updated: May 15, 2023

    • GitHub
    • LinkedIn
    • Feed
    © 2023 Chris Dymond. Powered by Jekyll & Minimal Mistakes.