Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Rest API Message

Rakshanda Kunte
Tera Contributor

Hi All,

 

 

We have a requirement to delegate mailbox to user. For this we are using Microsoft Graph REST API v1.0. (https://learn.microsoft.com/en-us/graph/overview?context=graph%2Fapi%2F1.0&view=graph-rest-1.0)

 

I have created an action where I will be using REST Step and hence want to build a REST Message.

 

 

RakshandaKunte_0-1707729807363.png

 

However, not able to decide which method to use from below:

 

  1. Create oAuth2PermissionGrant (a delegated permission grant) - Microsoft Graph v1.0 | Microsoft Learn
  2. Grant or revoke API permissions programmatically - Microsoft Graph | Microsoft Learn

Also need help in creating REST message if method is finalized. 

 

 

Thanks.

1 REPLY 1

Niklas Peterson
Mega Sage

Hi,

There is no endpoints in Microsoft Graph API for managing mailbox permissions. You need to use exchange online  powershell cmdlets.

 

Regards,
Niklas