Create Azure AD App Registration with Microsoft.Graph PowerShell

Andres Bohren
Hi All, In this Blog Post i explain you how to create an Azure AD App Registration with the Microsoft.Graph PowerShell. You need to have the Azure Active Directory Role “Application Administrator” or “Application Developer”. By the way. All the Code is used here is also on my GitHub Repo CreateAADApp-MgGraph.ps1 #Import Module Import-Module Microsoft.Graph.Authentication Import-Module Microsoft.Graph.Applications ############################################################################### #Connect-MgGraph #Connect to your Azure Active Directory with "Application Adminstrator" or "Global Administrator" Role ############################################################################### Connect-MgGraph -Scopes "Application.

Microsoft.Graph PowerShell Module 1.18.0 released

Andres Bohren
Hi All, A few hours ago, Microsoft has released a new Version of the Microsoft.Graph PowerShell Module. Apparently it covers the latest API version and Help as well as a minor fix. PowerShell Gallery Microsoft.Graph 1.18.0 1.18.0 Release Notes Let’s check the installed Version and what’s available on the PowerShell Gallery Get-InsalledModule Microsoft.Graph Find-Module Microsoft.Graph To install the newest Version of the PowerShell Modules and also uninstalling the old Versions, you can use my GitHub Script.

Exchange Online Name Attribute change creates some inconsistencys

Andres Bohren
Hi All, Back in April 2022 Microsoft has anounced in theyr Exchange Team Blog, that they will change the Name Attribute of the Objects to the ExternalDirectoryObjectId (EDOID). After some Feedback from Customers and the Community they stopped the Rollout for Reflection as you can read on the Blog post of Tony Redmond. Exchange Online Plans Changes to Make Mailbox Identification More Effective Change in naming convention of user’s Name parameter

MSIdentityTools PowerShell Module v2.0.26 released

Andres Bohren
Hi All, Just a few Hours ago, a new Version of MSIdentity Tools has been released. MSIdentityTools 2.0.26 Uninstall the old version of the PowerShell Module and install the newest one Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall-Module MSIdentityTools Install-Module MSIdentityTools Get-InstalledModule MSIdentityTools To see what commands are available use the following command Get-Command -Module MSIdentityTools Regards Andres Bohren

Microsoft Azure Active Directory Connect 2.1.20.0

Andres Bohren
Hi All, A few weeks ago, Microsoft has released a new Version of Microsoft Azure Active Directory Connect. Azure AD Connect: Version release history Microsoft Azure Active Directory Connect 2.1.20.0 On the M365 Admin Center in the Health > Directory Sync Status you can find the new Version Number Regards Andres Bohren

Create Microsoft Teams Holidays for Switzerland 2023

Andres Bohren
Hi All, In Microsoft Teams the Holidays have always been a bit Tricky. You can create Holidays direct in Teams Admin Center under Voice > Holidays or during the Creation or Modification of a Autoattendant. The Problem is that you create the Holidays and these are mostly set up to a specific Year. Next year you have to redo the Holidays and go through all Autoattendants to see if they are still linked.

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.23109.12000 released

Andres Bohren
Hi All, Some hours ago, Microsoft has released a new Version of the Microsoft.Online.SharePoint.PowerShell Module to the PowerShell Gallery. Microsoft.Online.SharePoint.PowerShell 16.0.23109.12000 Check what Module Version is installed and what’s available from the PowerShell Gallery Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Find-Module Microsoft.Online.SharePoint.PowerShell Uninstall the old Module and install the new Version Uninstall-Module Microsoft.Online.SharePoint.PowerShell Install-Module Microsoft.Online.SharePoint.PowerShell Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Regards Andres Bohren

Azure AD User setting Tenant Creation

Andres Bohren
Hi All, Since a few Days there is a new Setting in Azure AD User Settings “Tenant creation” Per default this setting is set to “Yes”. Means that a user with can create a new Azure AD Tenant. “No” means that only users with “Global Administrator” or “Tenant Creator” Admin Role can create Azure AD Tenants. I can’t think much of a Szenario where this should be enabled. So setting this to “No” is a secure configuration.

Deploy PowerShell 7 Script on Azure Automation

Andres Bohren
Hi All, In this Blog Post i explain how to Create and Depoly a PowerShell 7 Runbook for Azure Automation with the AZ PowerShell Module. #Connect to Azure Connect-AzAccount #Get Automation Account Get-AzAutomationAccount I have two Azure Automation Accounts. In this Example, we use the second one. ############################################################################### # Create Runbook ############################################################################### $accountName = "icewolfautomation" $rgName = "RG_DEV" $location = "West Europe" $RunbookName = "DemoPS7" $scriptContent = @' #Connect to Exchange with Managed Identity $tenant = "icewolfch.

How to Manage PowerShell 5 and 7 Modules on Azure Automation

Andres Bohren
Hi All, As you might already know, i am a big Fan of Azure Automation. Recently i have used “Managed Identity with Exchange Online on Azure Automation”. Yesterday there was a Release of “Microsoft.Graph PowerShell Module 1.17.0” and the Question of how to update the PowerShell Modules on Azure Automate arises once again. Basically i’ve covered that already in a Blog Post earlyer this Year “Update Modules on Azure Automation with AZ PowerShell”.