POWERSHELL

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.
Microsoft.PowerShell.PSResourceGet 1.1.0 released

Microsoft.PowerShell.PSResourceGet 1.1.0 released

Andres Bohren
Hi All, A few Days ago, Microsoft has released a new Version of PowerShell PSResourceGet to the PowerShell Gallery Microsoft.PowerShell.PSResourceGet 1.1.0 Release notes: Bugfix for publishing .nupkg file to ContainerRegistry repository (#1763) Bugfix for PMPs like Artifactory needing modified filter query parameter to proxy upstream (#1761) Bugfix for ContainerRegistry repository to parse out dependencies from metadata (#1766) Bugfix for Install-PSResource Null pointer occurring when package is present only in upstream feed in ADO (#1760) Bugfix for local repository casing issue on Linux (#1750) Update README.
ExchangeOnlineManagement 3.7.1 released

ExchangeOnlineManagement 3.7.1 released

Andres Bohren
Hi All, Today Microsoft has released the ExchangeOnlineManagement 3.7.1 PowerShell Module. PowerShell Gallery ExchangeOnlineManagement 3.7.1 v3.7.1: Introduced a new property named ExoExchangeSecurityDescriptor in Get-ExoMailbox response, that is similar to ExchangeSecurityDescriptor property in Get-Mailbox response. Added new cmdlets Add-VivaOrgInsightsDelegatedRole, Get-VivaOrgInsightsDelegatedRole, and Remove-VivaOrgInsightsDelegatedRole for supporting Viva Org Insights Delegation feature. 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
PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.25715.12000 released

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.25715.12000 released

Andres Bohren
Hi All, A day ago, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.25715.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 Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser Find-PSResource Microsoft.Online.SharePoint.PowerShell Uninstall the old Version and install the new Version of the Module Uninstall-PSResource Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser In the end, i had no other choice as to delete the Folder in Windows Explorer C:\Users\a.
WhiteboardAdmin 1.12.0 PowerShell Module released

WhiteboardAdmin 1.12.0 PowerShell Module released

Andres Bohren
Hi All, Yesterday Microsoft has released a new Version of the WhiteboardAdmin PowerShell Module to the PowerShell Gallery. PowerShell Gallery WhiteboardAdmin 1.12.0 The Release Notes does not give a lot of insights I am using the new PSResourceGet here instead of the PowerShellGet commands. Show installed Versions and what’s available in PowerShell Gallery Get-InstalledPSResource WhiteboardAdmin -Scope CurrentUser Find-PSResource WhiteboardAdmin Uninstall-PSResource WhiteboardAdmin -Scope CurrentUser In the end, i had no other choice as to delete the Folder in Windows Explorer C:\Users\a.
Azure PowerShell Module AZ 13.1.0 released

Azure PowerShell Module AZ 13.1.0 released

Andres Bohren
Hi All, Yesterday, a new Version of the AZ (Azure) PowerShell Module has been released to PowerShell Gallery. PowerShell Gallery Az 13.1.0 GitHub Release Notes Az 13.1.0 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 AZ -Scope CurrentUser Find-PSResource -Name AZ Uninstall the old Modules Uninstall-PSResource AZ -Scope CurrentUser -SkipDependencyCheck -ErrorAction SilentlyContinue Get-InstalledPSResource AZ.* -Scope CurrentUser -ErrorAction SilentlyContinue | Uninstall-PSResource -Scope CurrentUser -SkipDependencyCheck In the last few weeks i’ve noticed that uninstalling some Modules seems to have Problems.
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.
PowerShell Script to check Entra Apps with expiring ClientSecrets and Certificates

PowerShell Script to check Entra Apps with expiring ClientSecrets and Certificates

Andres Bohren
Hi All, A few years ago, i did write a Script to warn Entra Application Owners about expiring ClientSecrets and Certificates. PowerShell Script to check for AAD Apps with expiring ClientSecrets and Certificates The Script has been using the AzureAD PowerShell Module. Time to renew it to Microsoft.Graph Entra App Registrations Here is the Code to get the Entra App Registration with Microsoft.Graph PowerShell #Connect to Microsoft.Graph Connect-MgGraph -Scopes Application.Read.All -NoWelcome Let’s have a look at a specific Entra Application
Verified ID Advanced Setup

Verified ID Advanced Setup

Andres Bohren
Hi All, Almost a Year ago, I’ve blogged about Microsoft Entra Verified ID Since August 2024 Microsoft Entra Verified ID now generally available Setup Entra Verified ID - Advanced Setup Recently i have been playing around with Entra Verified ID again. This time using Advanced setup. You need to have the “Global Administrator” Role You need to Prepare an Azure Keyvault Step1: Configure organization settings Now let’s dig into the Configuration
Update PowerShell Modules on Azure Automation Runtime Environments

Update PowerShell Modules on Azure Automation Runtime Environments

Andres Bohren
Hi All, Recently i blogged about Azure Automation Runtime Environments Preview. I’ve written Runbooks for updating the Graph Modules for PowerShell 5.1 and 7.2 on Azure Automate. Update Microsoft.Graph Modules on Azure Automation with Managed Identity V2 Updating PowerShell Modules on Azure Automation Runtime Environment Now it’s time to update these Runbooks for Azure Automation with Runtime Environments Prerequisits The Automation Account needs to have a Managed Identity Azure Permissions The Managed Identity needs to have “Contributor”