Hi All, I recently had a customer that wanted to write an Application to read the Availability (Free/Busy) from the Calendars of theyr users.Here is how you can do that with Microsoft Graph. First you need an Application in Azure Active Directory with an AppID / ClientID
Then you need to be able to Authenticate. I usually use a Certificate for that purpose.
As for the Permissions, the Application needs the following: App needs Application Permissions:
Hi All, A few hours ago Microsoft has released the MicrosoftTeams PowerShell Module 4.4.1 to GA.
MicrosoftTeams 4.4.1
https://www.powershellgallery.com/packages/MicrosoftTeams/4.4.1
With the Commands below you can search and install the Module from the PowerShell Gallery. I used the -Force Parameter to have diffrent Modules installed side-by-side.
Find-Module MicrosoftTeams Install-Module MicrosoftTeams -Force
Connect-MicrosoftTeams Get-Module
The usual Testing Get-Team
Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl *Ent*,*host*,*voice*, *line*
Regards Andres Bohren
Hi All, I was digging a little bit deeper into the Recipient Management without Exchange Server. I've already blogged about it how to install the Managment Tools only fo install the Recipient Management PowerShell
Install and use Exchange 2019 CU12 Recipient Management PowerShell
https://blog.icewolf.ch/archive/2022/04/27/install-and-use-exchange-2019-cu12-recipient-management-powershell.aspx
Add-PSSnapin *RecipientManagement Get-PSSnapin As you can see on the Server the Exchange Server 2019 CU12 is installed (Management Tools only)
I found the References of the PowerShell Snapins in the Registry here: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapins
Hi All, Recently i had a customer who wanted to upload a File on SharePoint. I've done something similar with PowerShell on Windows and Azure Automation.
Upload file to SharePoint Online with PnP.PowerShell
https://blog.icewolf.ch/archive/2022/01/23/upload-file-to-sharepoint-online-with-pnp-powershell.aspx
Install PowerShell on Linux
https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.2
As i have a CentOS8 available i did test that. There is a specific Docs from Microsoft that explains how to Install PowerShell on CentOS
Installing PowerShell on CentOS
https://docs.microsoft.com/en-us/powershell/scripting/install/install-centos?view=powershell-7.2
cat /etc/centos-release rpm -i https://github.
Hi All, A few Hours ago, Microsoft has released the Azure PowerShell Module AZ v8.0.0
Microsoft Azure PowerShell AZ 8.0.0
https://www.powershellgallery.com/packages/AZ/8.0.0 Release Notes not yet udated
https://docs.microsoft.com/en-us/powershell/azure/release-notes-azureps?view=azps-7.5.0 Check your current installed Module and what is available on PowerShell Gallery
Get-InstalledModule AZ Find-Module AZ
I've published a Script in my GitHub Repo to uninstall the old Modules and install the new Modules https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/AzureAD/Microsoft.Graph_HowToStart.ps1
Or you can run the Script below to directly execute that Script
Hi All, Maybe you have noticed the new Mail flow Alert policies in Exchange Admin Center. You can define new Alert policies, define the Severity, the Insight, the recipient, the Notification Limit and sometimes also the Threshold for the Alert. For me it's a little bit odd to send an Email in case something does not work well with the Mailflow. It could be that you get the Email very late or even when the issue is already resolved.
Hi All, As you probably know, i am a big Fan of Azure Automation to run some Automation Scripts for M365 in Azure. When you try to install a new Microsoft Graph Module in Azure Automation from the Gallery it will fail, due its dependency for Microsoft.Graph.Authentication, because an older Version is installed.
I've tried to figure out, how to update the Modules with PowerShell (too much clicking for doing it manually).
Hi All, A few Days ago, Microsoft has released PowerShell 7.2.4. Changelog
https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/7.2.md
v7.2.4 Release of PowerShell
https://github.com/PowerShell/PowerShell/releases/tag/v7.2.4
Regards Andres Bohren
Hi All, A few days ago, Microsoft has released a new Version of the Microsoft.Graph PowerShell Module.
Find-Module Microsoft.Graph Install-Module Microsoft.Graph
If you have already installed a Version of Microsoft.Graph i recommend to use my CleanupGraphModules.ps1 from my GitHub Repo
https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/ExchangeOnline/GraphAPI/CleanupGraphModules.ps1
Microsoft.Graph 1.9.6
https://www.powershellgallery.com/packages/Microsoft.Graph/1.9.6
Release Notes https://github.com/microsoftgraph/msgraph-sdk-powershell/releases
Regards Andres Bohren
Hi All, Yesterday the AZ PowerShell Module 7.5.0 has been released
AZ PowerShell Module 7.5.0
https://www.powershellgallery.com/packages/az/7.5.0
I have used my Cleanup-AZModules.psy from my GitHub Repo to update the Modules
https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/Azure/Cleanup-AZModules.ps1
Get-InstalledModule AZ
Get-InstalledModule AZ.*
Regards Andres Bohren