Set-CrmUnlockTenantProtectedInstance
[This topic is pre-release documentation and is subject to change.]
Unlocks the specified environment. Notice that, after the tenant is locked, to unlock environments you must unlock each locked environment individually by using the key that was used to lock the tenant.
Syntax
Set-CrmUnlockTenantProtectedInstance
-InstanceId <Guid>
[-ApiUrl] <Uri>
[[-Credential] <PSCredential>]
[-MaxCrmConnectionTimeOutMinutes <Int32>]
[<CommonParameters>]
Description
The Set-CrmUnLockTenantProtectedInstance cmdlet unlocks the specified environment.
Examples
Example 1
PS C:\> Set-CrmUnLockTenantProtectedInstance -ApiUrl $connectionhost -Credential $cred -InstanceId <Guid>
Unlocks the tenant environment.
Parameters
-ApiUrl
URL of the Dataverse root service endpoint. For information about this parameter see Establish your credentials and connection.
Type: | Uri |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Credential
User credential for signing in to Dataverse. For information about this parameter see Establish your credentials and connection.
Type: | PSCredential |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-InstanceId
The id of the environment.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-MaxCrmConnectionTimeOutMinutes
Maximum number in minutes to wait before quitting the operation.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
System.Uri
System.Management.Automation.PSCredential System.Int32
Outputs
System.Object