power bi credentials Skip to main content
https://support.okta.com/help/answers?id=9062a000000dfjhqag&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Victor Lysell AdminVictor Lysell Admin 

power bi credentials

Hi.

Im trying to get data from OKTA into Power BI using an API token. 

In the PowerBI desktop version it works fine, but ones i publish i get an error in the data sets settings:

Failed to update data source credentials: The credentials provided for the Web source are invalid. (Source at https://ambea-admin.okta-emea.com/api/v1/apps.)Hide details
Activity ID:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXX
Request ID:XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX
Status code:400
Time:
Version:13.0.4385.126
Cluster URI:https://wabi-north-europe-redirect.analysis.windows.net

Im using Anonymous Authentication (because I have the token), I have tried with Basic and Windows also but neither works.

Anyone now a solution?
Radu GalanRadu Galan (Okta, Inc.)
Thank you for reaching Okta support.
If the Desktop version works as intended while attempting to publish the following error is returned "The credentials provided for the Web source are invalid" the you will need to enable Cors, to do so please review the below documentation:
https://developer.okta.com/docs/api/getting_started/enabling_cors
Victor Lysell AdminVictor Lysell Admin
Hi, i've tried to put in both https://wabi-north-europe-redirect.analysis.windows.net (the azure server whioch PBI is hosted) and 
https://app.powerbi.com/ with CORS but neither of them do me any good... Still having the same problem with credentials.
/Victor