Search for: azure automation

130 Results

Disabling PowerShell for Exchange Online Users

Most Microsoft 365 user accounts don't need access to Exchange Online PowerShell. It's an administrative tool that end users don't get much value from. In this article, we explore the best way to disable Exchange Online PowerShell using a script that can run interactively or as a scheduled Azure Automation runbook (the best way for automatic management).

Continue Reading Disabling PowerShell for Exchange Online Users

Using Managed Identities with RBAC for Applications

RBAC for Applications is a new method to secure Azure AD app access to Exchange Online mailboxes. In this article, we explain how to use Managed Identities in Azure Automation with RBAC for Applications making sure that scripts can only access selected mailboxes.

Continue Reading Using Managed Identities with RBAC for Applications

Practical Graph: Find Ownerless and Memberless Groups with Graph APIs

Over time, it's likely that some of the groups in a Microsoft 365 tenant will fall into either the category of memberless groups or ownerless groups. Microsoft has a solution to manage ownerless Microsoft 365 groups, but not the other group types supports by the Graph. This article explains how to find and report memberless groups using the Get-MgGroup cmdlet.

Continue Reading Practical Graph: Find Ownerless and Memberless Groups with Graph APIs

Practical Graph: Using the Microsoft AuditLog Query Graph API (Preview)

The unified audit log is the source of a lot of information about a Microsoft 365 tenant. The Search-UnifiedAuditLog cmdlet is available to search the audit log and now we have the AuditLog Graph API. This article explains how to use the new API to query and retrieve audit records from the log.

Continue Reading Practical Graph: Using the Microsoft AuditLog Query Graph API (Preview)

Practical Graph: Creating and Updating Planner Tasks

In the past, we've described how to use PowerShell to report tasks in Planner plans. This article completes the circle by discussing how to create Planner tasks. The scenario used is synchronizing Microsoft 365 message center notifications to create tasks in a target plan. There are some interesting issues to discuss, like how to assign a label to a task.

Continue Reading Practical Graph: Creating and Updating Planner Tasks

Welcome to Practical PowerShell

This blog is the first installment in our new monthly "Practical PowerShell" series, designed to help part-time PowerShell developers freshen up their scripting skills.

Continue Reading Welcome to Practical PowerShell