MsAppActsAsUserId
Specifies the Microsoft Entra ID (GUID) of the user the application should impersonate when authenticating with a service principal.
Data Type
string
Default Value
""
Remarks
This property is required when using the AzureServicePrincipal or AzureServicePrincipalCert authentication schemes and the add-in needs to act on behalf of a specific user.
Set this property to the Microsoft Entra ID object ID (GUID) of the user whose schedule data the application needs to access.
You must specify this property when querying the following tables:
- OpenShifts
- SchedulingGroups
- Shifts
- Schedules
- TimeOffReasons
- TimesOff
You must also specify this property when executing the ShareSchedule stored procedure.
Use this property when your application requires delegated access to user-specific Teams scheduling data in an Azure service principal authentication context.