Office 365 Autoupdatefederationmetadata (ADFS)

Noboddy realy remembers when their certificates expiration date are coming, so to help alittle we can create a schedule task to update your federationmetadata with Office 365.

Download Microsoft Office 365 Federation Metadata Update Automation Installation Tool.

Start a Windows PowerShell with Administrator rights and Windows Azure/Office 365 Cmdlets.

Navigate to where to saved your Automation Installation Tool and run:


You will be prompted for the federated domain, Global Administrator Credentials for Office 365 and a user with local server administrator rights.

This script will make a scheduled task that runs with these credentials once per day.

Leave a Reply


I am Roy Apalnes, a Microsoft Cloud Evangelist working av Sopra Steria. Main focus in Microsoft Security and Endpoint Management, with a bigger picture in mind.

Featured Posts