Using the Azure portal, one can view the audit logs, sign ins information.
However, using the graph API, the following error is returned.
Code: Authentication_RequestFromNonPremiumTenantOrB2CTenant
Message: Neither tenant is B2C or tenant doesn't have premium license
According to the error and these docs, one would need to upgrade to a premium subscription, but I can still see the logs on the portal.
Is this a feature/bug? Being able to view logs on portal without premium subscription but needing the subscription for the api.
If it's a bug, when will it be fixed?
Reference: https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1006