Best practices, tips and tricks working with Microsoft Graph API in PowerShell

Intro Microsoft has also released a best practices blog. My best practices sometimes match Microsoft’s, but are my own ideas behind the best practices.You don’t agree with one of the tips or best practices? Please leave feedback at the bottom of the post. Microsoft own best practices blog:Best practices for working with Microsoft Graph – … Continue reading Best practices, tips and tricks working with Microsoft Graph API in PowerShell

Get AzureAD Users LastLogin for stale accounts PowerShell

Which property comes closest to the LastLogin property? LastLogin is an attribute known from Active Directory, but this property is not present in AzureAD. Property RefreshTokensValidFromDateTime is closest to the LastLogin property. This property determines how long the token is valid for the last Login and when the local token must renew. Unfortunately this is … Continue reading Get AzureAD Users LastLogin for stale accounts PowerShell