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

Pull data from REST API with oAuth-Token in the Header requried

I need to pull data from a SugarCRM v10 REST API and they require a "OAuth-Token" in Header. How can I do this? Is there a M Script necessary? Any introduction or tutorial someone has to offer? 

1 ACCEPTED SOLUTION

Accepted Solutions
fabianhenzler Frequent Visitor
Frequent Visitor

Re: Pull data from REST API with oAuth-Token in the Header requried

So in case of the SugarCRM REST API you can pass the OAuth-Token as URL parameter

bbhttps://company.sugaropencloud.eu/rest/v10/Accounts?OAuth-Token=4efff6d1-41b7-caa2-00c7-5751000905fb&offset=0

4 REPLIES 4
fabianhenzler Frequent Visitor
Frequent Visitor

Re: Pull data from REST API with oAuth-Token in the Header requried

So in case of the SugarCRM REST API you can pass the OAuth-Token as URL parameter

bbhttps://company.sugaropencloud.eu/rest/v10/Accounts?OAuth-Token=4efff6d1-41b7-caa2-00c7-5751000905fb&offset=0

cousinlarry Regular Visitor
Regular Visitor

Re: Pull data from REST API with oAuth-Token in the Header requried

Any idea on how to refresh the token from within PowerBI? It expires after some time....

Highlighted
cactus Frequent Visitor
Frequent Visitor

Re: Pull data from REST API with oAuth-Token in the Header requried

Hi @fabianhenzler, did you manage to connect SugarCRM and PowerBI? Can you share how did you set up the token?

cactus Frequent Visitor
Frequent Visitor

Re: Pull data from REST API with oAuth-Token in the Header requried

Hi @fabianhenzler, can you share how did you set up the token? I couldn't manage the connection to work..

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 306 members 3,274 guests
Please welcome our newest community members: