cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
dzeipii Frequent Visitor
Frequent Visitor

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

Accepted Solutions
dzeipii Frequent Visitor
Frequent Visitor

Re: salesforce service cloud invalid token w both PQuery and PBI desktop

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
dzeipii Frequent Visitor
Frequent Visitor

Re: salesforce service cloud invalid token w both PQuery and PBI desktop

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

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors (Last 30 Days)