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

  • How to get and update Directory Schema Extension Attributes with the Microsoft Graph .Net SDK
  • How to enable MSAL for Java (MSAL4J) logging in a Spring Boot application
  • Use the Microsoft.Graph PowerShell SDK to get a list of Devices that do not have BitLocker Recovery Keys
  • Using AdditionalData property in Microsoft Graph SDK for .Net
  • Python Scripts may be detected as web-crawler when making Microsoft Graph requests.

Archives

  • May 2022 (3)
  • 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
  • authentication
  • Authentication Flows
  • Authorization
  • Azure AD
  • Azure AD Graph
  • Azure SQL
  • B2B
  • B2C
  • BitLocker
  • Consent
  • Easy Auth
  • Enterprise application
  • Eventual Consistency
  • Key Vault
  • logout
  • Microsoft Graph
  • Microsoft Graph Client
  • Microsoft Graph PowerShell Module
  • MSAL
  • MSI
  • National Cloud
  • OIDC
  • Permissions
  • PowerShell
  • Python
  • spring boot
  • Subscription
  • Token Claims
  • Token Validation
  • Tool
  • Uncategorized

Tags

.Net AAD AAD Application AAD Graph API AADSTS90094 AADSTS error Access Token ADAL ADAL .Net Admin Consent Application Application Registration aspnetcore Authentication Azure Azure Active Directory azuread Azure Key Vault Client Credential Grant Client Credentials Easy Auth fiddler GraphClient Graph Explorer GraphSDK .Net How To Java jwt Keys 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