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
jonathan_koh
Regular Visitor

Unable to Connect to CRM 2016 on premise

Hi,

 

Had been searching through and trying out the suggestion from this forum, still unable to connect to our on premise Dynamic CRM 2016 using OData Feed or Dynamic 365, 

 

Any ideas?

 

Thanks

4 REPLIES 4
v-qiuyu-msft
Community Support
Community Support

Hi @jonathan_koh,

 

Please follow this article to check if all settings meet requirements: Use Power BI with Microsoft Dynamics 365 (on-premises). Also can you show which error throws out when you get data in desktop?

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi I've followed the article mentioned, but i had several issues;

 

Firstly the PowerShell command 

 

Add-PSSnapin Microsoft.Crm.PowerShell
$fedurl = Get-CrmSetting -SettingType ClaimsSettings
$fedurl.FederationProviderType = 1
Set-CrmSetting $fedurl

failed with the following error from the trace "System.ArgumentException: ProviderType for Microsoft.Xrm.Sdk.Deployment.ClaimsSettings should be 0."

 

Then I noticed that the someone had commented that you needed to use the following instead;

 

$fedurl = Get-CrmSetting -SettingType OAuthClaimsSettings

 

Which appeared to work, but would be good to get some confirmation as the article was last updated in January 2017.

 

But after adding the client and following the remainder of the instructions, I am unable to logon through Power BI. We have other clients authenticating correctly using OAuth, but Power BI is just failing and I've not been able to ascertain why.

 

Any help would be greatly appreciated.

 

@jonathan_koh If it's on premises, is there a reason you aren't just connecting to the SQL database?


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Hi,

 

The system is customised and managed by our vendor. We are not allow to connect to the SQL server directly.

 

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