We are working on an integration which lets our customers connect their Office 365 account with our app and then we perform some checks on their account. One of those checks is showing active status of their employees/users accounts. We're using this endpoint reports/getOffice365ActiveUserDetail to determine if a user is active or not. But we're getting this error
{"error"=>{"code"=>"Authentication_RequestFromNonPremiumTenantOrB2CTenant", "message"=>"Neither tenant is B2C or tenant doesn't have premium license", "innerError"=>{"date"=>"2021-04-21T17:38:59", "request-id"=>"491a280f-8e35-4bdb-aa53-a1d5b69fe441", "client-request-id"=>"491a280f-8e35-4bdb-aa53-a1d5b69fe441"}}}
Upon further digging, we found this:
"Accessing sign-in reports requires an Azure Active Directory premium 1 (P1) license. If you see this error message while accessing sign-ins, make sure that your tenant is licensed with an Azure AD P1 license."
Is there a way for this to work without asking our customers to upgrade to Azure Active Directory premium 1 (P1) license? Is it possible that we can somehow subscribe to a subscription which lets us call this API successfully without needing all our customers to upgrade to Active Directory premium 1 (P1) license?