getProfile identifies the Microsoft user behind an Outlook account binding.
Example
automations/get-outlook-profile.automation.ts
Inputs
Only optionalaccount: string | IntegrationAccountReference<"microsoft">,
which 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.