MS GRAPH

Group Based Licensing with M365 Admin Center and Graph

Group Based Licensing with M365 Admin Center and Graph

Andres Bohren
Hi All, I have two Groups that are used to assign M365 Licenses to Users. Recently there was a change to move the Management from the Entra Admin Center to the M365 Admin Center Entra Admin Center In the Entra Admin Center you still can find the Groups If you select the Group and click on “Licenses” you can see the Warning Message that informs you that the Management of the Licenses has now moved to M365 Admin Center.
Register FIDO2 Passkey in Entra ID on behalf of users with PowerShell

Register FIDO2 Passkey in Entra ID on behalf of users with PowerShell

Andres Bohren
Hi All, Recently i was working together with one of my fellows (shout out to Raul Ruta) to figure out how Register Passkeys with the new Microsoft Graph Beta API’s. The only thing we found was the Article of Jan Bakker, that uses the Yubico Sample scripts based on Phyton. Register Yubikeys on behalf of your users with Microsoft Entra ID FIDO2 provisioning APIs I was looking if there is a better way that does not require Phyton and found this PowerShell Module
Microsoft.Graph PowerShell Modules 2.24.0 released

Microsoft.Graph PowerShell Modules 2.24.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.23.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.24.0 PowerShell Gallery Microsoft.Graph.Beta 2.24.0 Release Notes [v2] Weekly OpenApI Docs Refresh [v2] Examples Update Corrected example 5 title by @msewaweru Adds AutoRest directives to remove over generated cmdlets Fixes subsequent failures after first successful Invoke-MgGraphRequest run when using national cloud environments Updated example to remove mentions of Global admin by @msewaweru I am using the new PSResourceGet here instead of the PowerShellGet commands.
New M365 Service Plan: Graph Connectors Search with Index

New M365 Service Plan: Graph Connectors Search with Index

Andres Bohren
Hi All, Last December i have created an Azure Automation Runbook that checks weekly if there are changes in the Microsoft 365 Service Plans of my Tenant. As you can see it works fine and informed me on Friday that a new Serviceplan “GRAPH_CONNECTORS_SEARCH_INDEX” has been added to all Licenses. Keep Track of new ServicePlans in M365 Licenses In the Microsoft 365 Admin Portal it looks like this What are Graph Connectors?
SharePoint Online Azure ACS Retirement

SharePoint Online Azure ACS Retirement

Andres Bohren
Hi All, A few Years ago i wrote an Article on how to Grant Access to a Entra App in Sharepoint to upload Files to a SharePoint Site with PnP.PowerShell Upload file to SharePoint Online with PnP.PowerShell I wanted to do the same thing and there is a big red bar on top, that informs about the Azure ACS Retirement in April 2026. Starting April 2, 2026, Azure Access Control service (ACS) usage will be retired for SharePoint in Microsoft 365 and users will no longer be able to create or use Azure ACS principals to access SharePoint.
Microsoft.Graph PowerShell Modules 2.23.0 released

Microsoft.Graph PowerShell Modules 2.23.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.23.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.23.0 PowerShell Gallery Microsoft.Graph.Beta 2.23.0 Release Notes [v2] Weekly OpenApiDocs Refresh Bump autorest submodule [v2] Examples Update Migration to ESRP V5 I am using the new PSResourceGet here instead of the PowerShellGet commands. I’ve changed the Scope from “AllUsers” to “CurrentUser” in this Article - with that you don’t need to Run PowerShell as Administrator anymore.
Microsoft.Graph PowerShell Modules 2.22.0 released

Microsoft.Graph PowerShell Modules 2.22.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.22.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.22.0 PowerShell Gallery Microsoft.Graph.Beta 2.22.0 Release Notes [v2] Weekly OpenApiDocs Refresh [v2] Examples Update Adds beta version to docker file Introduces BusinessScenario and BackupRestore modules Updates ModulesMapping.json file Open Api tags for Network Access Module Updates Invoke-MgGraphRequest cmdlet to handle responses of text/plain content types Update Reset-MgUserAuthenticationMethodPassword.md by @tajaber Update New-MgBetaSecurityAuditLogQuery.
Microsoft.Graph PowerShell Modules 2.21.1 released

Microsoft.Graph PowerShell Modules 2.21.1 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.21.1 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.21.1 PowerShell Gallery Microsoft.Graph.Beta 2.21.1 Release Notes fix: adds workflow to publish docker image fix: removes arm64v8 and armv7 platforms from docker since upstream image doesn’t seem to support it I am using the new PSResourceGet here instead of the PowerShellGet commands. I’ve changed the Scope from “AllUsers” to “CurrentUser” in this Article - with that you don’t need to Run PowerShell as Administrator anymore.
Microsoft.Graph PowerShell Modules 2.21.0 released

Microsoft.Graph PowerShell Modules 2.21.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.21.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.21.0 PowerShell Gallery Microsoft.Graph.Beta 2.21.0 Release Notes [v2] Weekly OpenApiDocs Refresh [v2] Examples Update Upgrades Moq version to 4.20.70, Microsoft.Graph.Core to 3.1.13 and Microsoft.PowerShell.SDK to 7.4.3 Resets graph environment session to its original state Adds parameter descriptions in script cmdlets Update Set-MgUserPhotoContent.md by @Agazoth I am using the new PSResourceGet here instead of the PowerShellGet commands.
Office 365 Management Activity API

Office 365 Management Activity API

Andres Bohren
Hi All, In my previous Article Query M365 Audit Log i have compared Search-UnifiedAuditLog with the Preview Microsoft.Graph API. I did not cover the Management Activity API - i will cover that now in this Article. More Information: Office 365 Management Activity API reference Microsoft 365 Compliance audit log activities via O365 Management API - Part 1 Microsoft 365 Compliance audit log activities via O365 Management API - Part 2 Entra App I’ve created an Entra Application.