Forum Discussion
Working API calls with service principal & data set refresh in postman
Hi,
I'm freaking out here - what a hell of a mess in the documentation. I wasted hours in trying to get an working example in postman for authenticating with a service principal and doing a simple refresh on a dataset :(
Did anyone achieved it? Any working examples would be highly appreciated...
What we have done so far:
- Created Application
- Created service principal
- Enabled the feature in preview, added the group in which are service p. belongs
- Created workspace, added the security group (admin)
How do I now get the token in postman in order to use it in the next call?
4 Replies
- AnonymousNot applicable
Ok, i'm getting one step closer. I managed to get the access token by using our tenant ID in the oauth call and using the client id (application id) together with our secret:
I tried to do now a simple statement:
I'm using a new workspace (preview) and added the security group as Admin to the members. What's the missing point?
- JayendranSolution Sage
Hi Anonymous ,
The flow will be , once you get the token
Use the token to takeover the DataSET
Then call the Refresh API using the token
Let me know if you face any issue with this
- AnonymousNot applicable
Has really no one a working example? Or I'm the only one who needs a service principial due to some 2FA?
- AnonymousNot applicable
Anonymous Did you get any solution for this ??