Hello Mayur,
Thank you for reaching out Microsoft Support!
It looks like the error you're encountering is due to an empty access token. This typically means that the request you're making to the Microsoft Graph API is missing a valid authentication token. Here are a few steps you can take to resolve this issue:
- Obtain a Valid Access Token: Ensure you have a valid access token. You can obtain this by authenticating with Microsoft Identity Platform (Azure AD). Make sure your application has the necessary permissions to access the
serviceProvisioningInfo
endpoint. - Include the Access Token in Your Request: Once you have the access token, include it in the Authorization header of your API request. It should look something like this:
GET https://graph.microsoft.com/v1.0/organization/03788858-588a-4e12-872e-6454368f727e/serviceProvisioningInfo Authorization: Bearer YOUR_ACCESS_TOKEN
- Check Token Expiry: Ensure that the token you are using has not expired. Access tokens have a limited lifespan and need to be refreshed periodically.
- Verify Permissions: Make sure that the token has the correct scopes/permissions required to access the
serviceProvisioningInfo
endpoint.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.