MS GRAPH

PSMSALNet 0.1.3 has been released

PSMSALNet 0.1.3 has been released

Andres Bohren
Hi All, A few hours ago, a new version of PSMSALNet has been released -PowerShell Gallery PSMSALNet 0.1.3 I’ve checked the GitHub Pull Request Added Kusto audience as non custom audience for the Resource Parameter 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 PSMSALNet -Scope CurrentUser Find-PSResource -Name PSMSALNet Uninstall the Module with PSResourceGet failed.
Microsoft.Graph PowerShell Modules 2.32.0 released

Microsoft.Graph PowerShell Modules 2.32.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.32.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.32.0 PowerShell Gallery Microsoft.Graph.Beta 2.32.0 Release Notes There is no description, only the Changelog 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 Microsoft.Graph -Scope CurrentUser Get-InstalledPSResource -Name Microsoft.Graph.Beta -Scope CurrentUser Find-PSResource -Name Microsoft.Graph Find-PSResource -Name Microsoft.
Microsoft.Graph PowerShell Modules 2.31.0 released

Microsoft.Graph PowerShell Modules 2.31.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.31.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.31.0 PowerShell Gallery Microsoft.Graph.Beta 2.31.0 Release Notes Seems like the onPremesisSync Properies where missing Include users.onPremesisSync Include groups.onPremesisSync 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 Microsoft.Graph -Scope CurrentUser Get-InstalledPSResource -Name Microsoft.Graph.Beta -Scope CurrentUser Find-PSResource -Name Microsoft.
Change source of authority (SOA) for Groups (Preview)

Change source of authority (SOA) for Groups (Preview)

Andres Bohren
Hi All, Recently i published an Article about the Preview of the Change of authority for the Exchange Attributes Change source of authority (SOA) for Exchange Attributes (Preview) In this Article i will show you the Preview for changing the source of authority (SOA) for Groups. Configure Group Source of Authority (SOA) (Preview) Embrace cloud-first posture: Convert Group Source of Authority to the cloud (Preview) In an Enterprise Evironement, typically Users and Groups are Synced with Entra Connect or Cloud Sync to Entra ID.
PSMSALNet 0.1.2 has been released

PSMSALNet 0.1.2 has been released

Andres Bohren
Hi All, A few days ago, a new version of PSMSALNet has been released -PowerShell Gallery PSMSALNet 0.1.2 I’ve checked the GitHub Changes and found that there has only be changed one Parameter 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 PSMSALNet -Scope CurrentUser Find-PSResource -Name PSMSALNet Uninstall the Module with PSResourceGet failed. Uninstall-PSResource -Name PSMSALNet -Scope CurrentUser You can use the -FileMode Parameter of M365PSProfile Module to uninstall the Module
Microsoft.Graph PowerShell Modules 2.30.0 released

Microsoft.Graph PowerShell Modules 2.30.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.30.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.30.0 PowerShell Gallery Microsoft.Graph.Beta 2.30.0 Release Notes [v2] Manually update openApi docs [v2] Examples Update [v2] TokenLifetimePolicies are now referenceable through ServicePrinciples 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 Microsoft.Graph -Scope CurrentUser Get-InstalledPSResource -Name Microsoft.
Controlling Guest Access to your M365 Groups / Teams

Controlling Guest Access to your M365 Groups / Teams

Andres Bohren
Hi All, Recently a collegue at work made me aware of the following Article, that describes how you can prevent Guest Users to M365/Teams. You can configure that on Tenant Level or on individual M365 Group Level. Prevent guests from being added to a specific Microsoft 365 group or Microsoft Teams team Group Settings PowerShell Let’s check out these Settings with PowerShell ############################################################################### # Connect Microsoft Graph ############################################################################### Connect-MgGraph -Scopes GroupSettings.
Microsoft.Graph PowerShell Modules 2.29.1 released

Microsoft.Graph PowerShell Modules 2.29.1 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.29.1 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.29.1 PowerShell Gallery Microsoft.Graph.Beta 2.29.1 Release Notes not yet released 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 Microsoft.Graph -Scope CurrentUser Get-InstalledPSResource -Name Microsoft.Graph.Beta -Scope CurrentUser Find-PSResource -Name Microsoft.Graph Find-PSResource -Name Microsoft.Graph.Beta Uninstalling the old Microsoft.
Microsoft.Graph PowerShell Modules 2.29.0 released

Microsoft.Graph PowerShell Modules 2.29.0 released

Andres Bohren
Hi All, A few Hors ago, Microsoft has released the Version 2.29.0 of Microsoft.Graph and Microsoft.Graph.Beta Modules. PowerShell Gallery Microsoft.Graph 2.29.0 PowerShell Gallery Microsoft.Graph.Beta 2.29.0 Release Notes Remove WindowsPrivacyAccessControl from module generation fix specific directive files [v2] Weekly OpenApiDocs Refresh 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 Microsoft.Graph -Scope CurrentUser Get-InstalledPSResource -Name Microsoft.Graph.Beta -Scope CurrentUser Find-PSResource -Name Microsoft.
Send Mail with Attachment via Microsoft Graph

Send Mail with Attachment via Microsoft Graph

Andres Bohren
Hi All, I had to debug an Application that sends a Mail with an Attachment via Graph API. I’ve created this Small Script to Test the Functionality. Entra Application You need an Entra Application. Entra Application: Certificate Authentication: Permissions: Application: Mail.ReadWrite Application: Mail.Send Application Access Policy I’ve written a whole Article Application Access Policy in Exchange Online Limit Microsoft Graph Access to specific Exchange Mailboxes Connect-ExchangeOnline -ShowBanner:$False Get-DistributionGroup -Identity PostmasterGraphRestriction | fl DisplayName, PrimarySmtpAddress, ExternalDirectoryObjectId Get-DistributionGroupMember -Identity PostmasterGraphRestriction | fl DisplayName, PrimarySmtpAddress,ExternalDirectoryObjectId With this Application Access Policy you restrict the Graph Permissions of the Entra Application to the Members of the Distribution Group.