You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The directory tenant identifier of Azure Stack Administrator.
157
-
[Parameter(Mandatory=$true)]
158
-
[ValidateNotNullOrEmpty()]
159
-
[string] $AzsAdminDirectoryTenantId,
160
-
161
-
# The Azure Stack ARM endpoint URI.
162
-
[Parameter(Mandatory=$true)]
163
-
[ValidateNotNullOrEmpty()]
164
-
[Uri] $AzsAdminArmEndpoint,
165
-
166
-
# The user principal name of the account whoes user data should be cleared.
167
-
[Parameter(Mandatory=$true)]
168
-
[ValidateNotNullOrEmpty()]
169
-
[string] $UserPrincipalName,
170
-
171
-
# Optional: The directory tenant identifier of account whoes user data should be cleared.
172
-
# If it is not specified, it will delete user with principal name under all regitered directory tenants
173
-
[Parameter(Mandatory=$false)]
174
-
[ValidateNotNullOrEmpty()]
175
-
[string] $DirectoryTenantId,
176
-
177
-
# Optional: A credential used to authenticate with Azure Stack. Must support a non-interactive authentication flow. If not provided, the script will prompt for user credentials.
178
-
[ValidateNotNull()]
179
-
[pscredential] $AutomationCredential=$null
180
-
)
181
-
182
131
$ErrorActionPreference='Stop'
183
132
$VerbosePreference='Continue'
184
133
@@ -421,6 +370,5 @@ function Clear-SinglePortalUserData
0 commit comments