Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

AzureADPoSh: Azure AD Applications Password Expirations

$
0
0

 

Quick Post, I was recently asked how to find all the Application’s Password Expiration Date in Azure AD.  I'm not going to cover what this is or what this is used for (Integrating applications with Azure Active Directory) but if you open Azure AD and navigate to the Registered Applications and select one of the Applications this is what you will see.  For large enterprises this could be a difficult task.

image

Here is the cmdlet I threw together to gather this info for all applications in an Azure AD Instance.

Script can be found on github

#if you havent installed azuread module
find-module azuread | Install-Module
 
#connect to Azure AD
connect-azuread
 
foreach($AADapp in Get-AzureADApplication){
    Get-AzureADApplicationPasswordCredential -objectid $AADapp.objectid | select `
        @{name='DisplayName';expression={$AADapp.DisplayName}},StartDate,EndDate
}

Results should look like this:

image

Looks like I have a few expired passwords, that I will want to address.

 

That is all I have for now. Hope you find this useful

-Chad


Viewing all articles
Browse latest Browse all 36188

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>