A call to the Microsoft Graph end point can get the associated SharePoint web site URL of a Microsoft Team.
For example: https://graph.microsoft.com/v1.0/groups/<team-id>/sites/root/weburl
where <team-id> is the Microsoft Team identifier.
From NAC how do you get and pass the correct authentication token? An authentication token is required when calling the above URL from the Call a web service action within NAC workflow.
Best answer by bsikesView original
I’m not sure how you would get the access token in the first place with Microsoft Graph, but as far as how to use it in the “Call a Web Service” action, the NAC documentation has an example. https://help.nintex.com/en-US/nwc/Content/Designer/Actions/Callwebservice.htm
Looking at the Microsoft Graph api documentation, it doesn’t mention the “accept” header, so that could maybe be left out.
But from NAC how do you get and pass the correct authentication token? An authentication token is required when calling the above URL from the Call a web service action within NAC workflow.
How do you create an authentication token? There is documentation on how to register Apps and tokens, however, how do you utilize such token and when?
I am attempting to call a RESTful api in Microsoft Graph. It is indicating that a correct authentication token is not provided. What am I missing?
It sounds like this is more of a question on how to correctly use the Microsoft Graph API, and less about how to use NAC to accomplish it. I’m assuming that this page is the relevant one that describes the process to obtain an authentication token: https://learn.microsoft.com/en-us/graph/auth-v2-service
Assuming you have your app registered already, I think step 4 would be the relevant step.
Once you know from the API’s perspective what you would need to do, it will probably a
I think that’s conceptually what you’ll need, but I have no experience with Microsoft Graph or it’s API to know how it works.
Did this help you solve your question?