POWERSHELL

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.26309.12000 released

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.26309.12000 released

Andres Bohren
Hi All, Just a few hours ago, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.26309.12000 PowerShell Module. PowerShell Gallery Microsoft.Online.SharePoint.PowerShell I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource -Name Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser Find-PSResource -Name Microsoft.Online.SharePoint.PowerShell Uninstall the old Version and install the new Version of the Module Uninstall-PSResource -Name Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser In the last few weeks i’ve noticed that uninstalling some Modules seems to have Problems.
ExchangeOnlineManagement 3.9.0-Preview1 released

ExchangeOnlineManagement 3.9.0-Preview1 released

Andres Bohren
Hi All, A few days ago, Microsoft has released the ExchangeOnlineManagement 3.9.0-Preview1 PowerShell Module. PowerShell Gallery ExchangeOnlineManagement 3.9.0-Preview1 v3.9.0-Preview1: Introduce -EnableSearchOnlySession switch in Connect-IPPSSession cmdlet, which enables certain eDiscovery and related cmdlets that connect to other M365 services I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery. You need to use the -Prerelease Parameter to show Preview Versions of a Module
Get-Mailprotection 1.17 released

Get-Mailprotection 1.17 released

Andres Bohren
Hi All, I’ve found an Issue in my Get-Mailprotection Script and fixed it. The updated Version has been released. PowerShell Gallery Get-Mailprotection 1.17 Release Notes 1.17 Fixed Bug Autodiscover A Record I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource -Name Get-Mailprotection -Scope CurrentUser Find-PSResource -Name Get-Mailprotection Uninstall old Version and install new Version Uninstall-PSResource -Name Get-Mailprotection -Scope CurrentUser Install-PSResource -Name Get-Mailprotection -Scope CurrentUser Get-InstalledPSResource -Name Get-Mailprotection -Scope CurrentUser Use the Script
MicrosoftTeams PowerShell Module 7.2.1 Preview released

MicrosoftTeams PowerShell Module 7.2.1 Preview released

Andres Bohren
Hi All, A few days ago, Microsoft has released the MicrosoftTeams PowerShell Module 7.2.1 Preview to the PowerShell Gallery. PowerShell Gallery MicrosoftTeams 7.2.1-Preview Read more details in the Release Notes Adds Notify parameter to [Set|Remove]-CsPhoneNumberAssignment cmdlets. Releases [New|Set|Remove|Get|Grant]-CsTeamsPersonalAttendantPolicy cmdlets. Adds OCDIRedirect parameter to [Set|Remove]-CsTeamsUpdateManagementPolicy. I am using the new PSResourceGet here instead of the PowerShellGet commands. Check installed Module and what’s available in the PowerShell Gallery Get-InstalledPSResource -Name MicrosoftTeams -Scope CurrentUser Find-PSResource -Name MicrosoftTeams -Prerelease Uninstall the old Module and install the newest Module
Microsoft.PowerShell.PSResourceGet 1.2.0 preview2 released

Microsoft.PowerShell.PSResourceGet 1.2.0 preview2 released

Andres Bohren
Hi All, Today i saw, that there is a new Preview Version of Microsoft.PowerShell.PSResourceGet PSGallery Microsoft.PowerShell.PSResourceGet 1.2.0-preview2 Release Notes: New Features Ingetration of the Azure Artifacts Credential Provider for ADO feeds (#1765) Bug Fix Bug fixes for NuGet v3 dependencies Bug fix for temporary installation path failure when installing PSResources on Linux machines I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery.
Exchange Server use ADFS for OWA and ECP

Exchange Server use ADFS for OWA and ECP

Andres Bohren
Hi All, A few days ago, i did publish the Article Installing ADFS on Windows Server 2025. That gave me the opportunity, to test some scenarios with Exchange and Active Directory Federation Services (ADFS). ADFS Server Let’s start the ADFS MMC C:\Windows\ADFS\Microsoft.IdentityServer.msc Create relying party trusts in AD FS for Outlook on the web and the EAC As you can see, the Relying Party Trusts are empty Create Relying Party Trust for Outlook on the Web (owa)
Microsoft.Graph PowerShell Modules 2.29.1 released

Microsoft.Graph PowerShell Modules 2.29.1 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.29.1 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.29.1 PowerShell Gallery Microsoft.Graph.Beta 2.29.1 Release Notes not yet released I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource -Name Microsoft.Graph -Scope CurrentUser Get-InstalledPSResource -Name Microsoft.Graph.Beta -Scope CurrentUser Find-PSResource -Name Microsoft.Graph Find-PSResource -Name Microsoft.Graph.Beta Uninstalling the old Microsoft.
Check for Hybrid Configuration Wizard Updates

Check for Hybrid Configuration Wizard Updates

Andres Bohren
Hi All, A few Months ago, Microsoft has announced the Exchange Hybrid App. They announced that in Q2 2025 the HCW will support the creation of the Exchange Hybrid Application. Not sure if that is already the case. So i did write this Script to check for updated Versions of Hybrid Configuration Wizard (HCW). Exchange Server Security Changes for Hybrid Deployments Browser Developer Tools In the Browser development tools i’ve analyzed the URL that is used to download the Hybrid Configuration Wizard (HCW) when requesting https://aka.
Microsoft.Graph PowerShell Modules 2.29.0 released

Microsoft.Graph PowerShell Modules 2.29.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.29.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.29.0 PowerShell Gallery Microsoft.Graph.Beta 2.29.0 Release Notes Remove WindowsPrivacyAccessControl from module generation fix specific directive files [v2] Weekly OpenApiDocs Refresh I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource -Name Microsoft.Graph -Scope CurrentUser Get-InstalledPSResource -Name Microsoft.Graph.Beta -Scope CurrentUser Find-PSResource -Name Microsoft.
Send Mail with Attachment via Microsoft Graph

Send Mail with Attachment via Microsoft Graph

Andres Bohren
Hi All, I had to debug an Application that sends a Mail with an Attachment via Graph API. I’ve created this Small Script to Test the Functionality. Entra Application You need an Entra Application. Entra Application: Certificate Authentication: Permissions: Application: Mail.ReadWrite Application: Mail.Send Application Access Policy I’ve written a whole Article Application Access Policy in Exchange Online Limit Microsoft Graph Access to specific Exchange Mailboxes Connect-ExchangeOnline -ShowBanner:$False Get-DistributionGroup -Identity PostmasterGraphRestriction | fl DisplayName, PrimarySmtpAddress, ExternalDirectoryObjectId Get-DistributionGroupMember -Identity PostmasterGraphRestriction | fl DisplayName, PrimarySmtpAddress,ExternalDirectoryObjectId With this Application Access Policy you restrict the Graph Permissions of the Entra Application to the Members of the Distribution Group.