Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dd1234
Regular Visitor

Power BI OData/CRM Authentication Issue

I need help on how to set up a Power BI OAuth/CRM Data Source in Power BI Service. 

 

At the moment when we attempt to create the data source we get the below error.

 

Can anyone point me in the right direction to resolve this?

 

Unable to connect: We encountered an error while trying to connect to https://XXX.api.crm6.dynamics.com/api/data/v8.2/. Details: "We could not register this data source for all gateway instances within this cluster. Please find more details below about specific errors for each gateway instance."Hide details

Activity ID:

8e9a0c29-027f-61b5-4952-f3970a5252d6

Request ID:

97acd10f-56cd-38cf-8703-a036591e5f3e

Cluster URI:

https://wabi-australia-southeast-redirect.analysis.windows.net

Status code:

400

Error Code:

DMTS_PublishDatasourceToClusterErrorCode

Time:

Thu Feb 01 2018 15:42:29 GMT+0800 (W. Australia Standard Time)

Version:

13.0.4063.181

 

XXXSQLBI02_PBIGateway:

Invalid connection credentials.

Underlying error code:

-2147467259

Underlying error message:

The credentials provided for the OData source are invalid. (Source at https://XXX.api.crm6.dynamics.com/api/data/v8.2.)

DM_ErrorDetailNameCode_UnderlyingHResult:

-2147467259

Microsoft.Data.Mashup.CredentialError.DataSourceKind:

OData

Microsoft.Data.Mashup.CredentialError.DataSourcePath:

https://XXX.api.crm6.dynamics.com/api/data/v8.2/

Microsoft.Data.Mashup.CredentialError.Reason:

AccessUnauthorized

Microsoft.Data.Mashup.MashupSecurityException.DataSources:

[{"kind":"OData","path":"https://XXX.api.crm6.dynamics.com/api/data/v8.2/"}]

Microsoft.Data.Mashup.MashupSecurityException.Reason:

AccessUnauthorized

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @dd1234,

 

Which type of datasource you used?(online or on-premise) if you means online datasource with odata connection, you can use 'connection directly' mode to link datasource without setting gateway.

 

Please share more detail contents to help us clarify your scenario.

Troubleshooting the on-premises data gateway

 

In addition, please also share us detail information about datasource and credentials settings.

13.PNG

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors