Posts

Showing posts from November, 2025

Get the effective license mode for an Entra directory using PowerShell and Microsoft Graph - for example "Microsoft Entra ID P1"

Image
You might find yourself needing to know the license mode of an Entra Directory tenant - as seen in the "Overview" screen of the Entra Admin UI - for example "Microsoft Entra ID P1". This seems like it would be quite simple - install Microsoft Graph PowerShell  and run  Connect-MgGraph and then perhaps Get-MgOrganization ... Unfortunately it's not that simple, if you look for a Get-MgLicense command you'll also have an issue the cmdlets match the names in Graph which is subscribedSku. It gets more complex because Entra licenses are actually per user whereas Entra displays the license as if it were a tenant (organization) wide license. So what is actually happening is that the Entra Admin UI looks through all of the subscribed skus (licenses) and finds ones that are active and has one of the "AAD_*" service plans enabled. It then shows the best  (most expensive) license that it finds. The following PowerShell script performs that function.   functio...

QuickBooks - Error 381 - Reconfirm your consent to continue seeing account updates (Something unexpected happened)

Image
 When you try and access transactions in Intuit QuickBooks online you may see the error Error 381 - Reconfirm your consent to continue seeing account updates. Reconnect your account. However, when you click the "Reconnect your account" link you receive a "Something unexpected happened". This is the quality you've come to expect from Intuit. The solution is simply to clear your cache or swap to a different browser. I logged into QuickBooks Online using Microsoft Edge and was able to reconnect the account without any issues. - While you're here - Why not check out our Windows Server Documentation and Audit Tool?