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
Anonymous
Not applicable

salesforce service cloud invalid token w both PQuery and PBI desktop

Hi all,

 

Im trying to connect to Salesforce Service CLoud  Sandbox with no luck. I get the error "Service has returned invalid token".

 

I have the latest PBI desktop and Excel Query installed.

 

I've also tried to make the registry changes mentioned here.

https://social.technet.microsoft.com/Forums/en-US/92811d44-1165-4da2-96e7-20dc99bdf718/can-power-que...

 

Has anyone been able to query data from Service CLoud (objects or reports)? Should there be some specific setting done in the Salesforce end to enable data connection? I have atm ordinary user license. And should be able to query data as an ordinary user.

 

EDIT: also tried to add own IP to allowed list without luck.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Solved!

 

Thanks to this thread: https://community.powerbi.com/t5/Desktop/Power-BI-Desktop-salesforce-object-connector-quot-please-sp...

 

The problem must have been that Im operating in Sandbox. Tried to connect directly to the sandbox URL. Seems to be that I needed to use https://test.salesforce.com instead. It may be that the registry changes were needed to. Dont know yet.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Solved!

 

Thanks to this thread: https://community.powerbi.com/t5/Desktop/Power-BI-Desktop-salesforce-object-connector-quot-please-sp...

 

The problem must have been that Im operating in Sandbox. Tried to connect directly to the sandbox URL. Seems to be that I needed to use https://test.salesforce.com instead. It may be that the registry changes were needed to. Dont know yet.

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