Loading...

Azure AD Access Token Lifetimes and Long-running Scripts

Azure AD Access Token Lifetimes and Long-running Scripts
Sometimes, long running PowerShell scripts encounter the problem of Azure AD access token lifetime expiration. In other words, the default lifetime of tokens issued by Azure AD is too short to allow the script to complete before the token expires. Two solutions exist. Use a token lifetime policy to prolong access token lifetimes or check in code for potential expiration and renew when necessary.

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

Announcing General Availability of Native Vector Type & Functions in Azure SQL

We are happy to announce that Native vector support in Azure SQL Database and Azure SQL Managed Instance is moving to General Availability thi...

12 hours ago

Azure DevOps MCP Server, Public Preview

A few weeks ago at BUILD, we announced the upcoming Azure DevOps MCP Server: 👉 Azure DevOps with GitHub Repositories – Your path to Agentic A...

2 days ago

An open-source AutoScaler for Azure SQL Hyperscale Elastic Pools

TrackAbout is a worldwide provider of SaaS applications for tracking reusable, durable, physical assets like chemical containers and gas cylin...

2 days ago

June Patches for Azure DevOps Server

Today we are releasing patches that impact the latest version of our self-hosted product, Azure DevOps Server. We strongly encourage and recom...

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