Loading...

Maintaining a Microsoft 365 Retention Policy with PowerShell

Maintaining a Microsoft 365 Retention Policy with PowerShell
The Connect-IPPSSession cmdlet is needed to connect to the Security and Compliance endpoint to update a Microsoft 365 retention policy. Unhappily, the Security and Compliance module doesn’t support managed identities, which makes it harder to run Connect-IPPSSession securely in an Azure Automation runbook. In the end, we use a credential stored in the automation account. And then we had to disable WAM. All explained here.

Published on:

Learn more
Office 365 for IT Pros
Office 365 for IT Pros

Office 365 for IT Pros is the world's best book about Office 365 architecture, management, and deployment. Written by a team of highly experienced Microsoft MVPs, Office 365 for IT Pros is refreshed monthly.

Share post:

Related posts

Copilot Chat Arrives in Microsoft 365 Apps

Microsoft has started the rollout of the Copilot Chat integration with the Microsoft 365 apps, with the intention of making it easier to use A...

3 hours ago

Microsoft 365 admin center: Prepurchase capacity packs for Microsoft 365 Copilot Chat

Microsoft 365 admin center will introduce prepaid Capacity Packs for Copilot Chat, offering 25,000 messages/month to manage costs before pay-a...

3 hours ago

Microsoft Copilot (Microsoft 365): Use Copilot with OneDrive files in File Explorer and Activity Center

Microsoft 365 Copilot is integrated into Windows File Explorer and OneDrive Activity Center, allowing users to summarize documents, generate F...

3 hours ago

Microsoft Teams: Select camera and audio devices in pre-join and during meetings on iPad

Microsoft Teams on iPad now lets users select external audio and video devices from the pre-join screen and during meetings. This feature, ena...

3 hours ago

Legacy TLS cipher suites will be deprecated in M365 services on October 20, 2025

Microsoft 365 will deprecate legacy TLS cipher suites lacking forward secrecy on October 20, 2025, supporting only specified TLS 1.3 and 1.2 c...

3 hours ago

Microsoft Copilot (Microsoft 365): Skills agent now available in Frontier

The Skills agent, now in Microsoft 365 Copilot’s Frontier program, helps identify and develop skills, building skill-based teams across ...

3 hours ago

Viva Engage: Agents in Viva Engage communities Public Preview

Viva Engage communities now have agents in Public Preview (from Sept 18, 2025) that draft AI-generated answers using community content. ShareP...

3 hours ago

Microsoft Teams: Channel Agent

Microsoft Teams introduces Channel Agent, an AI-powered assistant for each channel that summarizes conversations, drafts status reports, assig...

3 hours ago

Introducing Knowledge Agent (preview): AI-powered content optimization for SharePoint and Copilot

Knowledge Agent (preview) is a new AI-powered SharePoint feature launching mid-September 2025, unifying AI tools into a role-adaptive interfac...

3 hours ago

Microsoft Teams: Channel Agent

Channel agent works alongside you and your team to help you manage projects. It can create status reports, send emails, schedule meetings, co-...

3 hours ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy