The ID of the registered app to use for authorization.
The ID of the Azure AD tenant where the app has been registered.
The redirect URI value specified in the registered app’s configuration.
Provide any additional Graph permissions that may be required by your app.
A connection, or null if the user is not authenticated to Microsoft 365 or the registered application has not been authorized.
Retrieves a connection to a Microsoft 365 tenant, assuming the user is currently authenticated to Salesforce and the registered application has been previously authorized.
Unlike connect, if a connection could not be established because the user is not authenticated to Microsoft 365 or the registered application has not been authorized, the function simply returns
nulland does not throw an error.Throws
AuthorizationError if the authorization process does not complete successfully.
Throws
ParameterError if invalid function parameter values are detected.