Share via


AuthorizationExtensions.ElevateAccessGlobalAdministrator Method

Definition

Elevates access for a Global Administrator.

  • Request Path: /providers/Microsoft.Authorization/elevateAccess
  • Operation Id: GlobalAdministrator_ElevateAccess
  • Default Api Version: 2015-07-01
public static Azure.Response ElevateAccessGlobalAdministrator (this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member ElevateAccessGlobalAdministrator : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> Azure.Response
<Extension()>
Public Function ElevateAccessGlobalAdministrator (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource is null.

Applies to