Purpose: To verify if a valid Microsoft Graph Access Token exists and is still valid within the workflow context.
Functionality: This activity checks if an access token, presumably obtained in a previous step (like using "Get Authorization Url" and user authentication flow), is present and has not expired. It typically outputs a boolean value (True/False) indicating the validity of the access token.
Use Cases:
Conditional Workflow Logic based on Authentication: Branching workflows based on whether a user is already authenticated with Microsoft Graph.
Token Refresh Logic: Used before making calls to Microsoft Graph API to ensure a valid access token is available. If the token is invalid, the workflow can redirect to obtain a new one.
Security and Authorization Checks: Ensuring that subsequent Microsoft Graph API calls are made only when a valid access token is present, maintaining secure access to Microsoft 365 resources.