Using Graph API In Orchestrator Runbooks?

Patrick Los 10 Reputation points
2025-01-31T03:23:06.71+00:00

What is the best way to integrate Orchestrator with Microsofts Graph API. Being able to delete workstations from Intune or making changes in Azure or other O365 programs would be helpful.

Not all functions are supported via the powershell module . Can the Invoke REST service be used?
When attempting to use the PFX cert that works with the powershell module I am getting a 401 error
I didnt see any documentation on this when I searched.

thank you.

401: Unauthorized
Exception: Exception
Target site: RestIP.Execute
Stack trace:
   at Microsoft.SystemCenter.Orchestrator.Integration.REST.ServerExtension.RestIP.Execute(IActivityRequest request, IActivityResponse response)
System Center Orchestrator
System Center Orchestrator
A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.
245 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 20,801 Reputation points
    2025-01-31T08:47:04.2733333+00:00

    Hi,

    401: Unauthorized

    We need to check the fields in your access token. You can use this URL to decode your token and share a screenshot.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.