Export Functions fix and Readme Update
This commit is contained in:
Родитель
7faa4e774e
Коммит
5a9127360c
|
@ -451,7 +451,8 @@ function Register-AzsWithMyDirectoryTenant {
|
|||
|
||||
Export-ModuleMember -Function @(
|
||||
"Register-AzsGuestDirectoryTenant",
|
||||
"Register-AzsGuestDirectoryTenant",
|
||||
"Register-AzsWithMyDirectoryTenant",
|
||||
"Get-AzsDirectoryTenantidentifier",
|
||||
"New-AzsADGraphServicePrincipal"
|
||||
|
||||
)
|
|
@ -57,7 +57,7 @@ $adminARMEndpoint = "https://adminmanagement.<region>.<domain>"
|
|||
$azureStackDirectoryTenant = "<homeDirectoryTenant>.onmicrosoft.com" # this is the primary tenant Azure Stack is registered to
|
||||
$guestDirectoryTenantToBeOnboarded = "<guestDirectoryTenant>.onmicrosoft.com" # this is the new tenant that needs to be onboarded to Azure Stack
|
||||
$location = "local"
|
||||
Register-GuestDirectoryTenantToAzureStack -AdminResourceManagerEndpoint $adminARMEndpoint `
|
||||
Register-AzsGuestDirectoryTenant -AdminResourceManagerEndpoint $adminARMEndpoint `
|
||||
-DirectoryTenantName $azureStackDirectoryTenant `
|
||||
-GuestDirectoryTenantName $guestDirectoryTenantToBeOnboarded `
|
||||
-Location $location
|
||||
|
@ -82,6 +82,6 @@ Execute the following cmdlet as the administrator of the directory that needs to
|
|||
$tenantARMEndpoint = "https://management.<region>.<domain>"
|
||||
$guestDirectoryTenantName = "<guestDirectoryTenant>.onmicrosoft.com" # this is the new tenant that needs to be onboarded to Azure Stack
|
||||
|
||||
Register-AzureStackWithMyDirectoryTenant -TenantResourceManagerEndpoint $tenantARMEndpoint `
|
||||
Register-AzsWithMyDirectoryTenant -TenantResourceManagerEndpoint $tenantARMEndpoint `
|
||||
-DirectoryTenantName $guestDirectoryTenantName
|
||||
```
|
||||
|
|
Загрузка…
Ссылка в новой задаче