MsGraph_Login

Description

This activity allows you to authenticate to the Microsoft Graph service and obtain the essential authentication string to perform the activities that require it.

To allow authentication it is necessary to have an app within the Azure portal and that it has all the API permissions necessary to perform the various activities. The necessary steps are:

Input

AppSecret InArgument<String> REQUIRED

A secret string that the application uses to prove its identity when requesting a token. Also can be referred to as application password.

See this page if you don't know how to create a new application secret or to find out how to get an existing one.

ClientId InArgument<String> REQUIRED

Client ID is the ID that identifies each Azure Active Directory application.

Visit this page to learn how to get both TenantId and ClientId.

TenantId InArgument<String> REQUIRED

The tenant to authenticate to.

For more information on tenants visit this page.

Output

AuthString OutArgument<String> REQUIRED

The authentication string is a value that is returned after logging into Microsoft Graph and certifies that a certain application ("Client Id") has authenticated in a certain Tenant ("Tenant Id") thanks to a certain Application Secret. Thanks to the authentication string, the system is able to understand the permissions that the application has and consequently enables only the permitted operations.