Search for: Practical PowerShell

938 Results

Practical Graph: Report Microsoft 365 Subscriptions and Service Plans

Microsoft 365 subscriptions are what tenants buy to access functionality. The service plans in the subscriptions (product licenses) control what features are available. This article explains how to use PowerShell to generate a report about subscriptions and the service plans in each license.

Continue Reading Practical Graph: Report Microsoft 365 Subscriptions and Service Plans

Practical Graph: Manage Conditional Access Policies

Cmdlets from the Microsoft Graph PowerShell SDK are available to manage conditional access policies. The challenge in using PowerShell rather than the Entra ID admin center GUI is how policy settings are structured. But practice (and some experimentation) makes perfect, as we discuss in this article.

Continue Reading Practical Graph: Manage Conditional Access Policies

Mastering Microsoft 365 PowerShell Scripting

A common question at conferences is how to start with Microsoft 365 PowerShell scripting. We all have our own approach. This article lays out a simple three-step method to write scripts to interact with Microsoft 365 objects.

Continue Reading Mastering Microsoft 365 PowerShell Scripting

Practical Graph: Working with Entra ID Directory Extensions

Directory extensions allow organizations to customize the data stored for Entra ID objects such as users, groups, and devices, You need to create and manage directory extensions with PowerShell. This article explains how to do the job with cmdlets from the Microsoft Graph PowerShell SDK.

Continue Reading Practical Graph: Working with Entra ID Directory Extensions

Practical Graph: Check Licenses Before Assignment to Entra ID Accounts

License assignment to Entra ID accounts with PowerShell is easy if licenses are available and the account doesn't already have the license. In this article, we explore how to check license availability and make sure that we don't try to assign a license that's already present.

Continue Reading Practical Graph: Check Licenses Before Assignment to Entra ID Accounts