Skip to content

Azure Active Directory Developer Support Team

How AuthN do we talk? Thoughts and musings by the Microsoft AAD Developer Support team

  • Home
  • Most Comments
  • About

Month: March 2021

Receiving error ‘Neither tenant is B2C or tenant doesn’t have premium license’ from Microsoft Graph

March 23, 2021May 23, 2021 Bac Hoang [MSFT]

You may receive the following error ‘error’: { ‘code’: ‘Authentication_RequestFromNonPremiumTenantOrB2CTenant’, ‘message’: ‘Neither tenant is B2C or tenant doesn’t have premium license’, ‘innerError’: { ‘date’: ‘2021-03-04T07:53:51’, ‘request-id’: ‘a0a074e6-xxx-c511669fa420’, ‘client-request-id’: ‘a0a074e6-xxx-c511669fa420′ } when making any Microsoft Graph call querying users’ sign in activities, for example the following GET requests https://graph.microsoft.com/v1.0/auditLogs/signIns or https://graph.microsoft.com/beta/users?$select=displayName,userPrincipalName,signInActivity So what’s the resolution? The following criteria are required for the call to succeed: The queried tenant or directory will…

Read More
Azure AD, Microsoft Graph, Permissionssignin activites; audit logsLeave a comment

Recent Posts

  • Change token lifetimes using the Microsoft Graph PowerShell SDK
  • Add Azure AD roles claim support in WebAssembly Authentication
  • How to unconsent / remove consented permissions in Graph Explorer tool
  • Microsoft.Identity.Client.MsalClientException: Failed to get user name
  • How to resolve “No account or login hint was passed to the AcquireTokenSilent” with a Web App and no persistent token cache

Archives

  • March 2023 (2)
  • February 2023 (2)
  • November 2022 (2)
  • October 2022 (3)
  • September 2022 (1)
  • August 2022 (5)
  • July 2022 (2)
  • June 2022 (3)
  • May 2022 (5)
  • April 2022 (4)
  • March 2022 (3)
  • February 2022 (1)
  • January 2022 (1)
  • December 2021 (1)
  • November 2021 (1)
  • August 2021 (2)
  • July 2021 (3)
  • June 2021 (3)
  • April 2021 (3)
  • March 2021 (1)
  • February 2021 (2)
  • January 2021 (3)
  • October 2020 (2)
  • September 2020 (2)
  • August 2020 (3)
  • July 2020 (2)
  • June 2020 (4)
  • May 2020 (2)
  • April 2020 (6)
  • March 2020 (1)
  • January 2020 (3)
  • December 2019 (7)
  • November 2019 (7)
  • October 2019 (1)
  • August 2019 (6)
  • July 2019 (5)
  • June 2019 (1)
  • May 2019 (3)
  • April 2019 (2)
  • March 2019 (3)
  • January 2019 (4)
  • December 2018 (1)
  • November 2018 (4)
  • October 2018 (2)
  • September 2018 (2)
  • August 2018 (2)
  • June 2018 (2)
  • May 2018 (8)
  • April 2018 (6)
  • February 2018 (2)

Categories

  • App Registration
  • asp.net
  • asp.net core
  • authentication
  • Authentication Flows
  • Authorization
  • Azure AD
  • Azure AD Graph
  • Azure Identity Client
  • Azure SQL
  • B2B
  • B2C
  • BitLocker
  • Client Credentials
  • Consent
  • dotnet
  • Easy Auth
  • Enterprise application
  • Eventual Consistency
  • Key Vault
  • logout
  • Microsoft Graph
  • Microsoft Graph Client
  • Microsoft Graph Explorer
  • Microsoft Graph PowerShell Module
  • Microsoft Identity Web
  • MSAL
  • MSI
  • National Cloud
  • Oauth2
  • OIDC
  • Permissions
  • PowerShell
  • Python
  • spring boot
  • Subscription
  • Token Claims
  • Token Validation
  • Tool
  • Uncategorized

Tags

.Net AAD AAD Application AAD Graph API AADSTS error Access Token ADAL Admin Consent Application Application Registration aspnetcore Authentication Azure Azure Active Directory azuread Azure Key Vault Client Credential Grant Client Credentials Easy Auth fiddler Graph GraphClient Graph Explorer How To Insufficient Permissions Java jwt Keys Microsoft.Identity.Web Microsoft Graph Microsoft Graph API Microsoft Graph SDK MSAL.js MSAL.Net oidc owin Permissions Postman PowerShell proxy SAML token Tools Users VB.Net Web APP/API

Proudly powered by WordPress | Theme: Corporate Plus by Acme Themes