Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello teams,
I have had try to use the latest version of Power BI Desktop (Version 2.92.706.0) to get Azure AD Users’ information by calling Azure AD Graph API: “https://graph.windows.net/Tenant ID/users?api-version=1.6” via OData connector. However, I have met the below error:
Error detail:
I use fiddle to grab the request from Power BI Desktop and compare it with the request from Azure AD API explorer, got the below information:
Request from Power BI Desktop OData Connector
Request from Azure AD explorer
Based on Azure AD Graph API Document (https://docs.microsoft.com/en-us/previous-versions/azure/ad/graph/howto/azure-ad-graph-api-versionin...)
“You must specify the version of an operation that you want to use by including the api-version query string parameter in your request. Requests without an api-version parameter will be rejected and return a (400) Bad Request response. ”
Regarding the above information, the issue is caused by the Power BI Desktop OData request lake of the suffix of API version when requesting the OdataNextLink.
I also test the behavior on Power BI Desktop (Version 2.91.884.0), and the result is normal. So the issue only happened on the latest version (2.92.706.0) of Power BI Desktop.
Please notice PG fixes this bug.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.