PowerShell

Exchange Online Custom RBAC Role for AWS

Exchange Online Custom RBAC Role for AWS

Andres Bohren
Hi All, I’ve had an interesting Use Case some Weeks ago. The collegues from the AWS Cloud Team wanted to create a Mailenabled Security List for each Application they create. So they can inform the right People and i guess also assign permissions to these People. I expected, that this will be an easy task. Just a few Microsoft Graph Commands to create a Group and add Members. But i was very wrong.
PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.24009.12000 released

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.24009.12000 released

Andres Bohren
Hi All, A few days ago, Microsoft has released the Microsoft.Online.SharePoint.PowerShell 16.0.24009.12000 PowerShell Module to the PowerShell Gallery Microsoft.Online.SharePoint.PowerShell Check the installed Version and what is available from the PowerShell Gallery Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Find-Module Microsoft.Online.SharePoint.PowerShell Uninstall the old Version and install the new Version of the Module Uninstall-Module Microsoft.Online.SharePoint.PowerShell Install-Module Microsoft.Online.SharePoint.PowerShell Get-InstalledModule Microsoft.Online.SharePoint.PowerShell List the Commands of the Module Get-Command -Module Microsoft.Online.SharePoint.PowerShell Connect to Sharepoint Online Connect-SPOService -Url https://icewolfch-admin.sharepoint.com Get some Settings
Microsoft.Graph PowerShell Modules 2.4.0 released

Microsoft.Graph PowerShell Modules 2.4.0 released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released the Version 2.4.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.4.0 PowerShell Gallery Microsoft.Graph.Beta 2.4.0 Read more in the Release Notes Refreshes the SDK with the latest APIs Adds support for baseSitePage APIs and MTO APIs Updates welcome message to include getting started links Updates examples Fixes Get-MgTeamChannel by disambiguating /allChannels (Get-MgAllTeamChannel) command from /channels Show installed Versions and what’s available in PowerShell Gallery
Use Managed Identity with Microsoft Teams on Azure Automation

Use Managed Identity with Microsoft Teams on Azure Automation

Andres Bohren
Hi All, Hopefully you already know, that the Run As Accounts in Azure Automation will retire by end of September 2023. Therefore you have to migrate to Managed Identitys. Azure Automation Run As accounts will retire on 30 September 2023 and completely move to Managed Identities. All runbook executions using RunAs accounts, including Classic Run As accounts wouldn’t be supported after this date. Starting 01 April 2023, the creation of new Run As accounts in Azure Automation will not be possible.
MicrosoftTeams PowerShell Module 5.5.1 Preview released

MicrosoftTeams PowerShell Module 5.5.1 Preview released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released the MicrosoftTeams PowerShell Module 5.5.1-Preview to the PowerShell Gallery. PowerShell Gallery MicrosoftTeams 5.5.1-preview Microsoft Teams PowerShell Release Notes Check what Version of the MicrosoftTeams PowerShell Module is installed and what is available in the PowerShell Gallery. Get-InstalledModule MicrosoftTeams Find-Module MicrosoftTeams -AllowPreview Install the Preview and use the -Force parameter to install Side by Side with the Current Module Install-Module MicrosoftTeams -AllowPreview -Force Get-InstalledModule MicrosoftTeams -AllVersions Some basic testing
Get GroupMembers of nested Groups with PowerShell

Get GroupMembers of nested Groups with PowerShell

Andres Bohren
Hi All, I was recently tasked do figure out the GroupMembers of a nested Group. It looks somehow like this: DemoGroupA has three Members DemoGroupB (Group) Simple Contact (Contact) UserA (User) DemoGroupB has one Member Email Contact (Mail Contact) UserB (User) The Get-ADGroupMember noes not return the Contact Object. But you can get it with the Member Property Get-ADGroupMember -Identity DemoGroupA Get-ADGroup -Identity DemoGroupA -Property Members (Get-ADGroup -Identity DemoGroupA -Property Members).
PowerShellGet will be renamed to Microsoft.PowerShell.PSResourceGet

PowerShellGet will be renamed to Microsoft.PowerShell.PSResourceGet

Andres Bohren
Hi All, A few Months ago, Sydney Smith (Microsoft PowerShell PM) has announced that the PowerShellGet will be renamed to Microsoft.PowerShell.PSResourceGet PowerShellGet in PowerShell 7.4 Updates Version 3 previews of PowerShellGet will begin shipping in PowerShell 7.4 previews in June (preview 5) with the following updates. These changes include important plans to address migration and compatibility, and we would like to request feedback. The module name “PowerShellGet” for version 3 (-PSResource cmdlets) will change to “Microsoft.
Microsoft.Graph PowerShell Module 2.3.0 GA released

Microsoft.Graph PowerShell Module 2.3.0 GA released

Andres Bohren
Hi All, Just a few Hours ago, Microsoft has released the Version 2.3.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.3.0 Read more in the Release Notes Refreshes the SDK with the latest APIs. Updates examples Adds support for new states in RSC configuration Fixes serialization of ordered hashtables and dictionaries Fixes error when running on Azure Functions Fixes request content cloning exception in .NET 4.x Fixes null response object serialization to output streams via WriteObject Fixes command names under /admin/people/* path Show installed Versions and what’s available in PowerShell Gallery
ExchangeOnlineManagement 3.3.0 Preview1 available

ExchangeOnlineManagement 3.3.0 Preview1 available

Andres Bohren
Hi All, Just a few days ago, Microsoft has released a new Preview Version of the ExchangeOnlineManagement PowerShell Module. PowerShell Gallery ExchangeOnlineManagement 3.3.0-Preview1 Release notes for v3.3.0-Preview1: Support to skip loading cmdlet help files with Connect-ExchangeOnline. Global variable EXO_LastExecutionStatus can now be used to check the status of the last cmdlet that was executed. Bug fixes in Connect-ExchangeOnline and Connect-IPPSSession. Support of user controls enablement by policy for features that are onboarded to Viva feature access management.
MSCommerce PowerShell Module 1.9

MSCommerce PowerShell Module 1.9

Andres Bohren
Hi All, Recently i have noticed, that there is a new MSCommerce PowerShell Module available from the PowerShell Gallery. PowerShell Gallery MSCommerce 1.9 Check the installed Module and what’s available in the PowerShell Gallery Get-InstalledModule MSCommerce Find-Module MSCommerce Let’s uninstall the old Module and install the newest one from PowerShell Gallery Uninstall-Module MSCommerce Install-Module MSCommerce Get-InstalledModule MSCommerce List the Commands from the Module Get-Command -Module MSCommerce Connect with Microsoft 365 (Requires Global Administrator or Billing Administrator Role)