Hi All,
I write this Blog Article in Addition to the Exchange Online POP and IMAP OAUTH 2.0 Client Credentials Flow
I tried out other ways of testing
First we need to get the Access Token
############################################################################### # Get Access Token with MSAL ############################################################################### Import-Module MSAL.PS $AppID = "3bf0cf36-87bf-47a9-927b-0ef9df7cf146" $TenantID = "icewolfch.onmicrosoft.com" $ClientSecret = ConvertTo-SecureString "YourClientSecret" -AsPlainText -Force $Scope = "https://outlook.office.com/.default" Clear-MsalTokenCache $Token = Get-MSALToken -ClientId $AppID -ClientSecret $ClientSecret -TenantId $TenantID -Scope $Scope $AccessToken = $Token.
Hi All,
Just a few Hours ago, Microsoft has released Microsoft.Graph 2.0.0-preview2 PowerShell Modules to the PowerShell Gallery.
PowerShell Gallery Microsoft.Graph 2.0.0-preview2 With the 2.x Version of the Module there has been changed a lot
Breaking Changes:
Drops profile support (Select-MgProfile) in favor of independent v1.0 and beta modules. Drops support for -ForceRefresh on Connect-MgGraph. Renames beta command names from <Verb>-Mg<Noun> to <Verb>-MgBeta<Noun>. Changes beta namespace from Microsoft.Graph.PowerShell.Models.<Entity> to Microsoft.Graph.Beta.PowerShell.Models.<Entity>. Changes -AccessToken type on Connect-MgGraph from String to SecureString.
Hi All,
A few hours ago, Microsoft has released a new Version of the Microsoft.Graph PowerShell Module.
PowerShell Gallery Microsoft.Graph 1.19.0
Microsoft.Graph 1.19.0 Release Notes
Let’s check the installed Version and what’s available on the PowerShell Gallery
Get-InstalledModule 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. It takes a while until all Modules are installed.
Hi All,
Yesterday PowerShell 7.3.1 has been released
v7.3.1 Release of PowerShell When you start PowerShell 7 you will see a notice
I have downloaded the x64 *.msi and these are the Screenshots from the Installation.
I always enable “Enable PowerShell remoting” wich is not enabled by default.
Get-Host Regards
Andres Bohren
Hi All,
Three days ago, Microsoft has released a new Version of the MSIdentityTools PowerShell Module.
Just two days after the 2.0.30 release - which is no longer available in the PowerShell Gallery.
It’s hard to tell what the reasons are. No clear Indication on the Project Site nor the Issues.
MSIdentityTools 2.0.31 Check what module is installed and what Module is available from the PowerShell Gallery
Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall the old version of the PowerShell Module and install the newest one
Hi All,
Just a few Hours ago, Microsoft has released the AZ PowerShell Module 9.2.0.
PowerShell Gallery Az 9.2.0
Az 9.2.0 Release Notes
Show Installed AZ Module and what’s available in the PowerShell Gallery
Get-InstalledModule AZ -AllVersions Find-Module AZ To uninstall all the old Modules and install the new Modules i have written a PowerShell Script that is published at my GitHub Repo.
#Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "https://raw.
Hi All,
Just a few Hours ago, Microsoft has released a new Version of the MSIdentityTools PowerShell Module.
MSIdentityTools 2.0.30 Check what module is installed and what Module is available from the PowerShell Gallery
Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall the old version of the PowerShell Module and install the newest one
Uninstall-Module MSIdentityTools Install-Module MSIdentityTools Get-InstalledModule MSIdentityTools To see what commands are available use the following command
Get-Command -Module MSIdentityTools Regards
Hi All,
Just a few Hours ago, Microsoft has released the ExchangeOnlineManagement 3.1.0-Previe1 PowerShell Module.
ExchangeOnlineManagement 3.1.0-Preview1 Whats new in this release v3.1.0-Preview1 :
Support for providing an Access Token with Connect-ExchangeOnline. Bug fixes in Connect-ExchangeOnline and Get-ConnectionInformation. Check what Version is installed and what’s available from the PowerShell Gallery
Get-InstalledModule ExchangeOnlineManagement Find-Module ExchangeOnlineManagement -AllowPrerelease Uninstall the old Module and install the Preview Module
Uninstall-Module ExchangeOnlineManagement -Force Install-Module ExchangeOnlineManagement -AllowPrerelease Get-InstalledModule ExchangeOnlineManagement Testing.
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.
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.