Skip to content

Commit c79f639

Browse files
authored
Merge pull request #15696 from sethmanheim/globaladmin8-19
Security initiative: remove global admin
2 parents b28f8ff + 168d944 commit c79f639

22 files changed

+61
-137
lines changed

azure-stack/asdk/asdk-admin-basics.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ description: Learn how to do basic admin tasks for the Azure Stack Development K
44
author: sethmanheim
55

66
ms.topic: article
7-
ms.date: 10/29/2021
7+
ms.date: 08/19/2024
88
ms.author: sethm
9-
ms.reviewer: misainat
10-
ms.lastreviewed: 10/15/2019
119

1210
# Intent: As an ASDK user, I want to familiarize myself with the admin basics so my users can become productive as quickly as possible.
1311
# Keyword: asdk admin basics
@@ -16,22 +14,22 @@ ms.lastreviewed: 10/15/2019
1614

1715

1816
# ASDK admin basics
17+
1918
There are several things you need to know if you're new to Azure Stack Development Kit (ASDK) administration. This guidance provides an overview of your role as an Azure Stack operator in the evaluation environment. Familiarizing yourself with this info ensures your test users will become productive as quickly as possible.
2019

2120
First, you should review the [What is Azure Stack Development Kit?](asdk-what-is.md) article to make sure you understand the purpose of the ASDK and its limitations. You should use the development kit as a "sandbox," where you can evaluate Azure Stack to develop and test your apps in a non-production environment.
2221

2322
Like Azure, Azure Stack innovates rapidly so we'll regularly release new builds of the ASDK. However, you can't upgrade the ASDK like you can Azure Stack integrated systems deployments. So, if you want to move to the latest build, you must completely [redeploy the ASDK](asdk-redeploy.md). You can't apply update packages. This process takes time, but the benefit is that you can try out the latest features as soon as they become available.
2423

2524
## What account should I use?
25+
2626
There are a few account considerations you should be aware of when managing Azure Stack. This is especially true in deployments using Windows Server Active Directory Federation Services (AD FS) as the identity provider instead of Microsoft Entra ID. The following account considerations apply to both Azure Stack integrated systems and ASDK deployments:
2727

2828
|Account|Microsoft Entra ID|AD FS|
2929
|-----|-----|-----|
3030
|Local Admin (.\Administrator)|ASDK host admin|ASDK host admin|
3131
|AzureStack\AzureStackAdmin|ASDK host admin<br><br>Can be used to sign in to the Azure Stack administrator portal<br><br>Access to view and administer Service Fabric rings|ASDK host admin<br><br>No access to the Azure Stack administrator portal<br><br>Access to view and administer Service Fabric rings<br><br>No longer owner of the Default Provider Subscription (DPS)|
3232
|AzureStack\CloudAdmin|Can access and run permitted commands within the Privileged Endpoint|Can access and run permitted commands within the Privileged Endpoint<br><br>Can't sign in to the ASDK host<br><br>Owner of the Default Provider Subscription (DPS)|
33-
|Microsoft Entra Global Administrator|Used during installation<br><br>Owner of the Default Provider Subscription (DPS)|Not applicable|
34-
|
3533

3634
## What tools do I use to manage?
3735
You can use the Azure Stack administrator portal `https://adminportal.local.azurestack.external` or PowerShell to manage Azure Stack. The easiest way to learn the basic concepts is through the portal. If you want to use PowerShell, you need to install [PowerShell for Azure Stack](asdk-post-deploy.md#install-azure-stack-powershell) and [download the Azure Stack tools from GitHub](asdk-post-deploy.md#download-the-azure-stack-tools).

azure-stack/asdk/asdk-deploy-considerations.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ description: Learn about the hardware, software, and environment requirements fo
44
author: sethmanheim
55

66
ms.topic: article
7-
ms.date: 09/23/2020
7+
ms.date: 08/19/2024
88
ms.author: sethm
9-
ms.reviewer: misainat
10-
ms.lastreviewed: 09/23/2020
119

1210
# Intent: As an ASDK user, I want to know the requirements for properly deploying the ASDK.
1311
# Keyword: asdk requirements
@@ -91,7 +89,7 @@ If your environment isn't connected to the internet, or you don't want to use Mi
9189
<a name='azure-active-directory-accounts'></a>
9290

9391
### Microsoft Entra accounts
94-
To deploy Azure Stack by using a Microsoft Entra account, you must prepare a Microsoft Entra account before you run the deployment PowerShell script. This account becomes the Global Admin for the Microsoft Entra tenant. It's used to provision and delegate apps and service principals for all Azure Stack services that interact with Microsoft Entra ID and Graph API. It's also used as the owner of the default provider subscription (which you can later change). You can sign in to your Azure Stack system's administrator portal by using this account.
92+
To deploy Azure Stack by using a Microsoft Entra account, you must prepare a Microsoft Entra account before you run the deployment PowerShell script. This account becomes the administrator for the Microsoft Entra tenant. It's used to provision and delegate apps and service principals for all Azure Stack services that interact with Microsoft Entra ID and Graph API. It's also used as the owner of the default provider subscription (which you can later change). You can sign in to your Azure Stack system's administrator portal by using this account.
9593

9694
1. Create a Microsoft Entra account that is the directory admin for at least one Microsoft Entra ID. If you already have one, you can use that. Otherwise, you can create one for free at [https://azure.microsoft.com/free/](https://azure.microsoft.com/free/) (in China, visit <https://go.microsoft.com/fwlink/?LinkID=717821> instead). If you plan to later [register Azure Stack with Azure](asdk-register.md), you must also have a subscription in this newly created account.
9795

@@ -100,13 +98,11 @@ To deploy Azure Stack by using a Microsoft Entra account, you must prepare a Mic
10098

10199
| **Microsoft Entra account** | **Supported?** |
102100
| --- | --- |
103-
| Work or school account with valid global Azure subscription |Yes |
104-
| Microsoft Account with valid global Azure subscription |Yes |
101+
| Work or school account with valid Azure subscription |Yes |
102+
| Microsoft Account with valid Azure subscription |Yes |
105103
| Work or school account with valid China Azure subscription |Yes |
106104
| Work or school account with valid US Government Azure subscription |Yes |
107105

108-
After deployment, Microsoft Entra global admin permission isn't required. However, some operations may require the global admin credential. Examples of such operations include a resource provider installer script or a new feature requiring a permission to be granted. You can either temporarily reinstate the account's global admin permissions or use a separate global admin account that's an owner of the *default provider subscription*.
109-
110106
## Network
111107
### Switch
112108
One available port on a switch for the ASDK machine.

azure-stack/asdk/asdk-deploy-powershell.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ description: Learn how to deploy the ASDK from the command line using PowerShell
44
author: sethmanheim
55

66
ms.topic: article
7-
ms.date: 10/14/2020
7+
ms.date: 08/19/2024
88
ms.author: sethm
9-
ms.reviewer: misainat
10-
ms.lastreviewed: 10/14/2020
119

1210
# Intent: As an ASDK user, I want to deploy the ASDK using the command line in Powershell so I can evaluate Azure Stack features.
1311
# Keyword: deploy asdk command line
@@ -84,9 +82,7 @@ Run the following PowerShell commands to deploy the ASDK using Microsoft Entra I
8482
.\InstallAzureStackPOC.ps1 -AdminPassword $adminpass.Password
8583
```
8684

87-
A few minutes into ASDK installation you'll be prompted for Microsoft Entra credentials. Provide the global admin credentials for your Microsoft Entra tenant.
88-
89-
After deployment, Microsoft Entra global admin permission isn't required. However, some operations may require the global admin credential. Examples of such operations include a resource provider installer script or a new feature requiring a permission to be granted. You can either temporarily reinstate the account's global admin permissions or use a separate global admin account that's an owner of the *default provider subscription*.
85+
A few minutes into ASDK installation you'll be prompted for Microsoft Entra credentials. Provide the Microsoft Entra admin credentials for your tenant.
9086

9187
### Deploy Azure Stack using AD FS
9288
To deploy the ASDK **using AD FS as the identity provider**, run the following PowerShell commands (you just need to add the -UseADFS parameter):
@@ -115,15 +111,15 @@ If your Microsoft Entra identity is only associated with **one** Microsoft Entra
115111
```powershell
116112
cd C:\CloudDeployment\Setup
117113
$adminpass = Get-Credential Administrator
118-
$aadcred = Get-Credential "<Azure AD global administrator account name>"
114+
$aadcred = Get-Credential "<Microsoft Entra administrator account name>"
119115
.\InstallAzureStackPOC.ps1 -AdminPassword $adminpass.Password -InfraAzureDirectoryTenantAdminCredential $aadcred -TimeServer 52.168.138.145 #Example time server IP address.
120116
```
121117

122118
If your Microsoft Entra identity is associated with **greater than one** Microsoft Entra directory:
123119
```powershell
124120
cd C:\CloudDeployment\Setup
125121
$adminpass = Get-Credential Administrator
126-
$aadcred = Get-Credential "<Azure AD global administrator account name>" #Example: [email protected]
122+
$aadcred = Get-Credential "<Microsoft Entra administrator account name>" #Example: [email protected]
127123
.\InstallAzureStackPOC.ps1 -AdminPassword $adminpass.Password -InfraAzureDirectoryTenantAdminCredential $aadcred -InfraAzureDirectoryTenantName "<Azure AD directory in the form of domainname.onmicrosoft.com or an Azure AD verified custom domain name>" -TimeServer 52.168.138.145 #Example time server IP address.
128124
```
129125

azure-stack/asdk/asdk-install.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ description: Learn how to install the Azure Stack Development Kit (ASDK).
44
author: sethmanheim
55

66
ms.topic: article
7-
ms.date: 05/06/2019
7+
ms.date: 08/19/2024
88
ms.author: sethm
9-
ms.reviewer: misainat
10-
ms.lastreviewed: 02/08/2019
119

1210
# Intent: As an ASDK user, I want to install the ASDK so I can start using it.
1311
# Keyword: install asdk
@@ -34,9 +32,7 @@ The steps in this article show you how to deploy the ASDK using a graphical user
3432

3533
![Identity provider type drop-down in ASDK](media/asdk-install/2.PNG)
3634

37-
If you choose an Azure subscription identity provider, you need an internet connection, the full name of a Microsoft Entra directory tenant in the form of *domainname*.onmicrosoft.com, or a Microsoft Entra ID verified custom domain name. You also need global admin credentials for the specified directory.
38-
39-
After deployment, Microsoft Entra global admin permission isn't required. However, some operations may require the global admin credential. For example, a resource provider installer script or a new feature requiring a permission to be granted. You can either temporarily reinstate the account's global admin permissions or use a separate global admin account that's an owner of the *default provider subscription*.
35+
If you choose an Azure subscription identity provider, you need an internet connection, the full name of a Microsoft Entra directory tenant in the form of *domainname*.onmicrosoft.com, or a Microsoft Entra ID verified custom domain name. You also need admin credentials for the specified directory.
4036

4137
When using AD FS as the identity provider, the default stamp directory service is used. The default account to sign in with is [email protected], and the password to use is the one you provided as part of setup.
4238

@@ -67,7 +63,7 @@ The steps in this article show you how to deploy the ASDK using a graphical user
6763
> [!TIP]
6864
> Here you can also copy the PowerShell setup commands that'll be used to install the ASDK. This is helpful if you ever need to [redeploy the ASDK on the host computer using PowerShell](asdk-deploy-powershell.md).
6965
70-
8. If you're doing a Microsoft Entra deployment, you'll be prompted to enter your Microsoft Entra global admin account credentials a few minutes after setup starts.
66+
8. If you're doing a Microsoft Entra deployment, you'll be prompted to enter your Microsoft Entra admin account credentials a few minutes after setup starts.
7167

7268
9. The deployment process will take a few hours, during which time the host computer will automatically reboot once. If you want to monitor the deployment progress, sign in as azurestack\AzureStackAdmin after the ASDK host restarts. When the deployment succeeds, the PowerShell console displays: **COMPLETE: Action 'Deployment'**.
7369
> [!IMPORTANT]
@@ -85,4 +81,5 @@ If the deployment fails for some reason, you can [redeploy](asdk-redeploy.md) fr
8581
```
8682

8783
## Next steps
84+
8885
[Post deployment configuration](asdk-post-deploy.md)

azure-stack/asdk/asdk-register.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@
22
title: Register the ASDK with Azure
33
description: Learn how to register the Azure Stack Development Kit (ASDK) with Azure to enable marketplace syndication and usage reporting.
44
author: sethmanheim
5-
65
ms.topic: article
76
ms.custom:
87
- devx-track-azurepowershell
9-
ms.date: 1/20/2021
8+
ms.date: 08/19/2024
109
ms.author: sethm
11-
ms.reviewer: misainat
12-
ms.lastreviewed: 1/20/2021
1310

14-
# Intent: As an ASDK user, I want to register my ASDK with Azure so I can download marketplace items and report data back to global Azure.
11+
# Intent: As an ASDK user, I want to register my ASDK with Azure so I can download marketplace items and report data back to Azure.
1512
# Keyword: register asdk azure
1613
---
1714

@@ -34,7 +31,7 @@ $ExecutionContext.SessionState.LanguageMode
3431

3532
Ensure the output returns **FullLanguage**. If any other language mode is returned, registration needs to be run on another computer or the language mode set to **FullLanguage** before continuing.
3633

37-
The Microsoft Entra account used for registration needs to have access to the Azure subscription and have permissions to create identity apps and service principals in the directory associated with that subscription. We recommend you register Azure Stack Hub with Azure by [creating a service account to use for registration](../operator/azure-stack-registration-role.md) rather than using global admin credentials.
34+
The Microsoft Entra account used for registration needs to have access to the Azure subscription and have permissions to create identity apps and service principals in the directory associated with that subscription. We recommend you register Azure Stack Hub with Azure by [creating a service account to use for registration](../operator/azure-stack-registration-role.md).
3835

3936
## Register the ASDK
4037

azure-stack/mdc/azure-stack-version-profiles-azurecli-2-tzl.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ author: sethmanheim
66
manager: femila
77
ms.service: azure-stack
88
ms.topic: article
9-
ms.date: 12/2/2020
9+
ms.date: 08/19/2024
1010
ms.author: sethm
11-
ms.reviewer: raymondl
12-
ms.lastreviewed: 12/2/2020
1311
ms.custom: devx-track-azurecli, linux-related-content
1412
---
1513
# Manage and deploy resources to Azure Stack Hub with Azure CLI - Modular Data Center (MDC)
@@ -94,7 +92,7 @@ This section walks you through setting up CLI if you're using Microsoft Entra ID
9492
You can either specify the username and password directly within the `az login` command, or authenticate by using a browser. You must do the latter if your account has multi-factor authentication enabled:
9593

9694
```azurecli
97-
az login -u <Active directory global administrator or user account. For example: username@<aadtenant>.onmicrosoft.com> --tenant <Azure Active Directory Tenant name. For example: myazurestack.onmicrosoft.com>
95+
az login -u <Microsoft Entra administrator or user account. For example: username@<aadtenant>.onmicrosoft.com> --tenant <Azure Active Directory Tenant name. For example: myazurestack.onmicrosoft.com>
9896
```
9997
10098
> [!NOTE]

azure-stack/mdc/operator/azure-stack-manage-basics-tzl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ There are a few account considerations to be aware of when managing Azure Stack
6060
| **Account** | **Azure** | **AD FS** |
6161
|---|---|---|
6262
| Local administrator (.\Administrator) | |
63-
| Microsoft Entra Global Administrator | Used during installation. <br> Owner of the default provider | Not applicable. |
63+
| Microsoft Entra Application Administrator | Used during installation. <br> Owner of the default provider | Not applicable. |
6464
| Account for Extended Storage| | |
6565
||
6666

@@ -141,7 +141,7 @@ There's information your users must understand before they use services and buil
141141
- [Azure Stack Hub VM features](../../user/azure-stack-vm-considerations.md)
142142
- [Azure Stack Hub storage: Differences and considerations](../../user/azure-stack-acs-differences.md)
143143

144-
The information in these articles summarizes the differences between a service in Azure and Azure Stack Hub. It supplements the information that's available for an Azure service in the global Azure documentation.
144+
The information in these articles summarizes the differences between a service in Azure and Azure Stack Hub. It supplements the information that's available for an Azure service in the Azure documentation.
145145

146146
### Connect to Azure Stack Hub as a user
147147

azure-stack/mdc/operator/registration-tzl.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ author: sethmanheim
55
ms.topic: article
66
ms.custom:
77
- devx-track-azurepowershell
8-
ms.date: 10/13/2021
8+
ms.date: 08/19/2024
99
ms.author: sethm
10-
ms.reviewer: unknown
11-
ms.lastreviewed: 10/26/2020
1210
---
1311

1412
# Register Azure Stack Hub with Azure - Modular Data Center (MDC)
@@ -54,8 +52,6 @@ Before registering Azure Stack Hub with Azure, you must have:
5452
- The user account needs to have access to the Azure subscription and have permissions to create identity apps and service principals in the directory associated with that subscription. We recommend that you register Azure Stack Hub with Azure using least-privilege administration. For more information about how to create a custom role definition that limits access to your subscription for registration, see [Create a registration role for Azure Stack Hub](../../operator/azure-stack-registration-role.md).
5553
- Register the Azure Stack Hub resource provider (see the following sections for details).
5654

57-
After registration, Microsoft Entra Global Administrator permission is not required. However, some operations might require the global admin credential (for example, a resource provider installer script or a new feature requiring a permission to be granted). You can either temporarily reinstate the account's global admin permissions, or use a separate global admin account that is an owner of the *default provider subscription*.
58-
5955
The user who registers Azure Stack Hub is the owner of the service principal in Microsoft Entra ID. Only the user who registered Azure Stack Hub can modify the Azure Stack Hub registration. If a non-admin user that's not an owner of the registration service principal attempts to register or re-register Azure Stack Hub, they might see a 403 response. A 403 response indicates that the user has insufficient permissions to complete the operation.
6056

6157
Registering Azure Stack Hub incurs no cost on your Azure subscription.

azure-stack/operator/app-service-rotate-certificates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Rotate App Service on Azure Stack Hub secrets and certificates
33
description: Learn how to rotate secrets and certificates used by Azure App Service on Azure Stack Hub.
44
author: sethmanheim
55
ms.topic: article
6-
ms.date: 08/12/2024
6+
ms.date: 08/19/2024
77
ms.author: sethm
88
ms.reviewer: anwestg
99
ms.lastreviewed: 04/09/2020
@@ -90,7 +90,7 @@ The identity application is created by the operator before deployment of Azure A
9090

9191
To rotate the certificate for the application in Microsoft Entra ID, follow these steps:
9292

93-
1. Go to the **Azure portal** and sign in using the Global Admin used to deploy Azure Stack Hub.
93+
1. Go to the **Azure portal** and sign in using the admin used to deploy Azure Stack Hub.
9494

9595
1. Go to **Microsoft Entra ID** and browse to **App Registrations**.
9696

0 commit comments

Comments
 (0)