Skip to main content
getProfile identifies the Microsoft user behind an Outlook account binding.

Example

automations/get-outlook-profile.automation.ts

Inputs

Only optional account: string | IntegrationAccountReference<"microsoft">, which defaults to the project Microsoft binding.

Output

Returns userId, displayName, userPrincipalName, and optional primary email. The primary email can be absent; the sign-in principal remains present.