How to manage Entra ID’s banned password list via the Graph SDK for PowerShell

Entra ID’s password protection feature was introduced back in 2018, adding support for a banned password list, the smart lockout controls and integration with on-premises AD. Programmatic access to the feature was enabled via directory settings templates, which at the time were exposed via the Azure AD Preview PowerShell module, …

Continue readingHow to manage Entra ID’s banned password list via the Graph SDK for PowerShell

You can no longer delegate folder-level permissions to a shared mailbox

In what looks like another attempt to curtail unsanctioned use of shared mailboxes in Exchange Online, Microsoft has begun blocking the ability to grant folder-level permissions to shared mailbox principals via PowerShell. As a side effect, you will no longer be able to use the Add-MailboxFolderPermission cmdlet to designate a …

Continue readingYou can no longer delegate folder-level permissions to a shared mailbox

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