outlook.getProfile returns the user behind an Outlook binding.
Example
automations/get-outlook-profile.automation.ts
Inputs
The action has no schema input fields. Its optional second argument{ account: string | IntegrationAccountReference<"microsoft"> } defaults to the project Microsoft binding.
Output
ReturnsuserId, displayName, userPrincipalName, and optional primary email. The primary email can be absent. The sign-in principal remains present.