Working with custom attributes via the Graph SDK for PowerShell and the Entra module

In this article, we will examine how to work with Exchange custom attributes (also known as extension attributes) via the Graph SDK for PowerShell. The examples include retrieving and modifying values for the set of extensionAttribute1-15, generating a report of all the values, bulk scenarios and more. We are also including some examples for the Entra PowerShell module, which does improve the experience a bit. Read on …

Continue readingWorking with custom attributes via the Graph SDK for PowerShell and the Entra module

Create report schedules for Microsoft 365 reports via PowerShell

While the functionality to create report schedules for (handful of the) Microsoft 365 hasn’t received any love for years now, I want to remind you that it still exists. In this article, we will take a deeper look at the PowerShell cmdlets used to manage report schedules, as well as refresh your memory on some of the basics. And who knows, Microsoft might eventually remember this functionality exists and add support for more reports 🙂 …

Continue readingCreate report schedules for Microsoft 365 reports via PowerShell

Remove all sharing links and permissions for items in SharePoint Online or OneDrive for Business

A “proof of concept” script that you can use to remove all sharing links (sharing permissions) across all items stored in SharePoint Online and OneDrive for Business, including Teams sites. The script is indented to be run non-interactively and requires Sites.ReadWrite.All application permissions. …

Continue readingRemove all sharing links and permissions for items in SharePoint Online or OneDrive for Business

How to to control self-service purchases in the Microsoft 365 admin center

Use the Self-service trials and purchases page within the Microsoft 365 Admin Center to controls settings for self-service purchases and trials for end users in your organization. The functionality (almost) matches the settings exposed via the MSCommerce module, so you can think of it as a UI layer on top of said module. …

Continue readingHow to to control self-service purchases in the Microsoft 365 admin center

Few notes on disabling access to PowerShell in Exchange Online

A question over at Experts Exchange prompted me to refresh my memory on the process of disabling access to PowerShell for Exchange Online users. The proper way to do that, as detailed by Tony in this article, is to toggle the corresponding flag on the user object. Microsoft is however …

Continue readingFew notes on disabling access to PowerShell in Exchange Online