MS GRAPH

Microsoft.Graph PowerShell Modules 2.27.0 released

Microsoft.Graph PowerShell Modules 2.27.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.27.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.27.0 PowerShell Gallery Microsoft.Graph.Beta 2.27.0 Release Notes [v2] Weekly OpenApiDocs Refresh [v2] Examples Update Prevents automatic inference of properties with numeric characters defined as strings. e.g {“age”:“28”}" Fixes removal of boolean and empty Json object values from request body Task: Bootstrap acr-push pipeline by @Onokaev Adds aliases to avoid conflicting cmdlets calling the same Api path Adds Metadata for authentication module cmdlets Added directives to disable generation of invalid Service Announcement cmdlets Fix: Depend on previous stage by @Onokaev I am using the new PSResourceGet here instead of the PowerShellGet commands.
Control EWS in Exchange Online

Control EWS in Exchange Online

Andres Bohren
Hi All, In end of February Microsoft has Annouced a new way to control the EWS Usage in Exchange Online. This is in preparation for the Retirement of EWS in October 2026 The way to control EWS usage in Exchange Online is changing. Unlike other Settings, for Example SMTP Basic Authentication, the EWSEnabled Property in the Exchange Online Organization Configuration can no longer be overridden via Set-CASMailbox on a individual Level.
Check for retiring OneNote App Permission in Entra

Check for retiring OneNote App Permission in Entra

Andres Bohren
Hi All, With the MC1011142 Message Center Post, Microsoft has announced the retirement of App Permissions for OneNote: Effective March 31, 2025, we will retire support for authentication tokens with application permissions (app-only tokens) for MSGraph OneNote APIs. We will continue to support authentication tokens that have delegated permissions. While app-only tokens are easy to use, they may be more easily exploited compared to more sophisticated authorization methods. Requests to the Notes API endpoints using tokens with application permissions will return 401 unauthorized errors starting March 31, 2025.
New ServicePlans have been addet to M365 Copilot

New ServicePlans have been addet to M365 Copilot

Andres Bohren
Hi All, A while ago, i did write an Azure Runbook that compares my Licenses every week. Keep Track of new ServicePlans in M365 Licenses I’ve received an Email this Week, stating that there have been added some new Service Plans to the “Microsoft_365_Copilot” SKU. In the M365 Admin Center it looks like this Let’s check the Licenses with PowerShell Connect-Graph -Scopes User.ReadWrite.All, Organization.Read.All -NoWelcome Get-MgUserLicenseDetail -UserId a.bohren@icewolf.ch List the Service Plans of the “Microsoft_365_Copilot” SKU
Microsoft.Graph PowerShell Modules 2.26.1 released

Microsoft.Graph PowerShell Modules 2.26.1 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.26.1 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.26.1 PowerShell Gallery Microsoft.Graph.Beta 2.26.1 Release Notes Roll back to .NET 6 Refresh Open Api file for Devices.CorporateManagement Module to generate missing cmdlets Ensures property values that have / are not modified to have them removed I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery
Microsoft.Graph PowerShell Modules 2.26.0 released

Microsoft.Graph PowerShell Modules 2.26.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.26.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.26.0 PowerShell Gallery Microsoft.Graph.Beta 2.26.0 Release Notes Bumps versions for Azure.Identity, Azure.Identity.Broker and Microsoft.Graph.Core feat: add direct dependency on System.Text.Json Allow serialization of null valued properties [v2] Examples Update Re-enables generation of Get cmdlets for attack simulation Drop unsupported net 6 and net 7 Updated examples for New-MgInvitaiton and New-MgBetaInvitation Removes invalid path.
Report Microsoft Authenticator Registration in Entra ID with Graph PowerShell

Report Microsoft Authenticator Registration in Entra ID with Graph PowerShell

Andres Bohren
Hi All, I am working with a customer on a M365 Onboarding. Bevore migrating Users to the Cloud, we want to make sure the Onboarding of the Microsoft Authenticator App is successful. I was tasked to figure out a way to find out the Users that have registered the Microsoft Authenticator App for MFA Authentication. Enduser Portal From a User Perspective you can see in the Security Information that there are registered two Microsoft Authenticators.
Exchange Online Export-Import Graph API Preview

Exchange Online Export-Import Graph API Preview

Andres Bohren
Hi All, About two Weeks ago, Microsoft has announced the public preview of the Exchange Export-Import Graph API. Introducing the Microsoft Graph Export-Import APIs for Exchange in public preview Many of our customers currently rely on APIs powered by Exchange Web Services (EWS) for tasks like Exchange mailbox backup, archiving and migration. However, with the EWS deprecation initiative, customers have been asking for a method built on the Microsoft Graph platform to discover mailbox items, selectively export them and then import these items into Exchange Online mailboxes.
Configure Entra External Collaboration Settings with Microsoft Graph

Configure Entra External Collaboration Settings with Microsoft Graph

Andres Bohren
Hi All, Recently I had the Task to set up Entra External collaboration settings with PowerShell. According to the Microsoft Documentation you should use the AzureAD PowerShell Module Allow or block B2B collaboration with organizations The retirement of the MSOnline (MSOL) and AzureAD PowerShell Modules has been postphoned many times. The modules will not be supported after March 30 2025. It would certainly work, but that would be only a short time solution.
Runbook to check Entra Apps with expiring ClientSecrets and Certificates

Runbook to check Entra Apps with expiring ClientSecrets and Certificates

Andres Bohren
Hi All, In the previous Article I’ve explained how to check for Entra Apps with expiring ClientSecrets and Certificates. In this Blog Article i explain how we can extend this into a Azure Automation Runbook. Automation Account The Azure Automation Account needs to have a Managed Identity Use the AZ PowerShell to get Infos about the Azure Automation Account ############################################################################### # Get Managed Identity of Azure Automation Account ############################################################################### Connect-AzAccount -Tenant icewolfch.