
Microsoft Graph - Create Mail Folder for User
This atomic belongs to the Microsoft Graph: Mail atomic group.
Creates a new mail folder for a user in Microsoft Graph. This atomic requires one of the following Graph API scopes: Mail.ReadWrite.
Target: Microsoft Defender for Office 365 (Commercial or GCC) integration target or HTTP endpoint for "graph.microsoft.com"
Account Key: None if using an integration-provided target, access token if using an HTTP Endpoint target
Steps:
[] Build the authorization header and request payload
[] Create the mail folder
[] Check if the request was successful:
[]> If it was, attempt to extract the results and set the output variables
[]> If it wasn't, return an error
More information about this API: https://learn.microsoft.com/en-us/graph/api/user-post-mailfolders