Skip to content

Commit 9c5eab1

Browse files
committed
added images back
1 parent 5c0cda8 commit 9c5eab1

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

articles/postgresql/flexible-server/how-to-configure-sign-in-azure-ad-authentication.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Account Environment TenantId TenantDomain
5050
Ensure that your Azure tenant has the service principal for the Azure Database for PostgreSQL Flexible Server. This only needs to be done once per Azure tenant. First, check for the existence of the service principal in your tenant with this command. The ObjectId value is for the Azure Database for PostgreSQL Flexible Server service principal.
5151

5252
> [!NOTE]
53-
> The following script is an example of a created app registration you can use for testing. If you want to apply your ids, you need to use your own app registration object and application id.
53+
> The following script is an example of a created Azure App Registration you can use for testing. If you want to apply your ids, you need to use your own App Registration object and application id.
5454
5555
```powershell
5656
Get-AzureADServicePrincipal -ObjectId 97deb67a-332c-456a-9ef4-3a95eb59c74b
@@ -92,10 +92,14 @@ To set the Azure AD admin during server provisioning, follow these steps:
9292
1. In the Azure portal, during server provisioning, select either **PostgreSQL and Azure Active Directory authentication** or **Azure Active Directory authentication only** as the authentication method.
9393
1. On the **Set admin** tab, select a valid Azure AD user, group, service principal, or managed identity in the customer tenant to be the Azure AD administrator.
9494

95-
You can optionally add a local PostgreSQL admin account if you prefer using the **PostgreSQL and Azure Active Directory authentication** method.
95+
You can optionally add a local PostgreSQL admin account if you prefer using the **PostgreSQL and Azure Active Directory authentication** method.
96+
97+
> [!NOTE]
98+
> You can add only one Azure admin user during server provisioning. You can add multiple Azure AD admin users after the Server is created.
99+
100+
101+
:::image type="content" source="media/how-to-configure-sign-in-Azure-ad-authentication/set-Azure-ad-admin-server-creation.png" alt-text="Screenshot that shows selections for setting an Azure AD admin during server provisioning.]":::
96102

97-
> [!NOTE]
98-
> You can add only one Azure admin user during server provisioning. You can add multiple Azure AD admin users after the Server is created.
99103

100104
To set the Azure AD administrator after server creation, follow these steps:
101105

@@ -104,13 +108,17 @@ To set the Azure AD administrator after server creation, follow these steps:
104108
1. Select **Add Azure AD Admins**. Then select a valid Azure AD user, group, service principal, or managed identity in the customer tenant to be an Azure AD administrator.
105109
1. Select **Save**.
106110

111+
:::image type="content" source="media/how-to-configure-sign-in-Azure-ad-authentication/set-Azure-ad-admin.png" alt-text="Screenshot that shows selections for setting an Azure AD admin after server creation.":::
112+
107113
> [!IMPORTANT]
108114
> When setting the administrator, a new user is added to Azure Database for PostgreSQL - Flexible Server with full administrator permissions.
109115
110116
## Connect to Azure Database for PostgreSQL by using Azure AD
111117

112118
The following high-level diagram summarizes the workflow of using Azure AD authentication with Azure Database for PostgreSQL:
113119

120+
:::image type="content" source="media/how-to-configure-sign-in-Azure-ad-authentication/authentication-flow.png" alt-text="Diagram of authentication flow between Azure Active Directory, the user's computer, and the server.":::
121+
114122
Azure AD integration works with standard PostgreSQL tools like psql, which aren't Azure AD aware and support only specifying the username and password when you're connecting to PostgreSQL. As shown in the preceding diagram, the Azure AD token is passed as the password.
115123

116124
We've tested the following clients:
56.1 KB
Loading
Loading
Loading

0 commit comments

Comments
 (0)