Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Obtains a cloud authentication handle. To call this function successfully, the calling application must be running within the context of the NetworkService or LocalSystem account.
Syntax
WTS_CLOUD_AUTH_HANDLE WTSCloudAuthOpen(
const GUID *activityId
);
Parameters
activityId
Return value
If the function succeeds, the return value is a valid cloud authentication handle. It should be closed by calling WTSCloudAuthClose. If the function fails, the return value is NULL. To get extended error information, call the GetLastError function.
Remarks
A cloud authentication handle can be used for remote Entra ID authentication and authorization purposes using the WTSCloudAuth* API family.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows, version 26100 |
| Header | wtsapi32.h |