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
## Use Azure Active Directory to create, read, update, and delete user objects
24
+
25
+
You can create a user in the Azure AD portal or by using Graph PowerShell or Graph API. You can also read, update, and delete users. The next sections show how to do these operations in the Azure AD portal.
26
+
27
+
### Create, read, or update a user
28
+
29
+
You can create a new user using the Azure Active Directory portal.
30
+
To add a new user, follow these steps:
31
+
32
+
1. Sign in to the [Azure portal](https://portal.azure.com/) in the User Administrator role for the organization.
33
+
34
+
1. Search for and select *Azure Active Directory* from any page.
35
+
36
+
1. Select **Users**, and then select **New user**.
37
+
38
+

39
+
40
+
1. On the **User** page, enter information for this user:
41
+
42
+
-**Name**. Required. The first and last name of the new user. For example, *Mary Parker*.
43
+
44
+
-**User name**. Required. The user name of the new user. For example, `[email protected]`.
45
+
46
+
-**Groups**. Optionally, you can add the user to one or more existing groups.
47
+
48
+
-**Directory role**: If you require Azure AD administrative permissions for the user, you can add them to an Azure AD role.
49
+
50
+
-**Job info**: You can add more information about the user here.
51
+
52
+
1. Copy the autogenerated password provided in the **Password** box. You'll need to give this password to the user to sign in for the first time.
53
+
54
+
1. Select **Create**.
55
+
56
+
The user is created and added to your Azure AD organization.
57
+
58
+
To read or update a user, search for and select the user such as, _Mary Parker_. Change any property and click **Save**.
59
+
60
+
### Delete a user
61
+
62
+
To delete a user, follow these steps:
63
+
64
+
1. Search for and select the user you want to delete from your Azure AD tenant. For example, _Mary Parker_.
65
+
66
+
1. Select **Delete user**.
67
+
68
+

69
+
70
+
71
+
The user is deleted and no longer appears on the **Users - All users** page. The user can be seen on the **Deleted users** page for the next 30 days and can be restored during that time.
72
+
73
+
When a user is deleted, any licenses consumed by the user are made available for other users.
74
+
75
+
## Use RSAT tools to connect to an Azure AD DS managed domain and view users
76
+
77
+
Sign in to an administrative workstation with a user account that's a member of the *AAD DC Administrators* group. The following steps require installation of [Remote Server Administration Tools (RSAT)](tutorial-create-management-vm.md#install-active-directory-administrative-tools).
78
+
79
+
1. From the **Start** menu, select **Windows Administrative Tools**. The Active Directory Administration Tools are listed.
80
+
81
+

1. To explore the managed domain, choose the domain name in the left pane, such as *aaddscontoso*. Two containers named *AADDC Computers* and *AADDC Users* are at the top of the list.
85
+
86
+

87
+
88
+
1. To see the users and groups that belong to the managed domain, select the **AADDC Users** container. The user accounts and groups from your Azure AD tenant are listed in this container.
89
+
90
+
In the following example output, a user account named *Contoso Admin* and a group for *AAD DC Administrators* are shown in this container.
91
+
92
+

93
+
94
+
1. To see the computers that are joined to the managed domain, select the **AADDC Computers** container. An entry for the current virtual machine, such as *myVM*, is listed. Computer accounts for all devices that are joined to the managed domain are stored in this *AADDC Computers* container.
95
+
96
+
You can also use the *Active Directory Module for Windows PowerShell*, installed as part of the administrative tools, to manage common actions in your managed domain.
These requests execute in sequence, which is not ideal.
211
+
API Management will send these requests sequentially.
212
212
213
213
### Responding
214
+
214
215
To construct the composite response, you can use the [return-response](./api-management-advanced-policies.md#ReturnResponse) policy. The `set-body` element can use an expression to construct a new `JObject` with all the component representations embedded as properties.
215
216
216
217
```xml
@@ -233,10 +234,9 @@ The complete policy looks as follows:
@@ -268,20 +268,18 @@ The complete policy looks as follows:
268
268
new JProperty("materialdata",((IResponse)context.Variables["materialdata"]).Body.As<JObject>()),
269
269
new JProperty("throughputdata",((IResponse)context.Variables["throughputdata"]).Body.As<JObject>()),
270
270
new JProperty("accidentdata",((IResponse)context.Variables["accidentdata"]).Body.As<JObject>())
271
-
).ToString())
271
+
).ToString())
272
272
</set-body>
273
273
</return-response>
274
-
</inbound>
275
-
<backend>
276
-
<base />
277
-
</backend>
278
-
<outbound>
279
-
<base />
280
-
</outbound>
274
+
</inbound>
275
+
<backend>
276
+
<base />
277
+
</backend>
278
+
<outbound>
279
+
<base />
280
+
</outbound>
281
281
</policies>
282
282
```
283
283
284
-
In the configuration of the placeholder operation, you can configure the dashboard resource to be cached for at least an hour.
285
-
286
284
## Summary
287
285
Azure API Management service provides flexible policies that can be selectively applied to HTTP traffic and enables composition of backend services. Whether you want to enhance your API gateway with alerting functions, verification, validation capabilities or create new composite resources based on multiple backend services, the `send-request` and related policies open a world of possibilities.
Copy file name to clipboardExpand all lines: articles/app-service/includes/tutorial-dotnetcore-sqldb-app/visual-studio-code-deploy-app-service-02.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,16 @@ ms.topic: include
5
5
ms.date: 02/03/2022
6
6
---
7
7
8
-
1.Select the Azure icon on the left navigation and expand the subscriptions to find the **coreSqlXYZ** App Service you created previously.
8
+
1.In the Visual Studio Code terminal, run the .NET CLI command below. This command generates a deployable `publish` folder for the app in the `bin/release/publish` directory.
9
9
10
-
1. Right-click on the **App Service** node and select **Deploy to Web App**.
10
+
```dotnetcli
11
+
dotnet publish -c Release
12
+
```
11
13
12
-
1.A prompt will appear to select the folder to deploy. If root of the project is already suggested, choose that option, otherwise select the **Browse** button to select the root folder from the file explorer.
14
+
1. Right-click on the generated `publish` folder in the Visual Studio Code explorer and select **Deploy to Web App**.
13
15
14
-
When the deployment completes, you should see a VS Code notification prompting you to browse to the deployed app.
16
+
1. A new workflow will open in the command palette at the top of the screen. Select the subscription you would like to publish your app to.
17
+
18
+
1. Select the App Service web app you created earlier.
19
+
20
+
If Visual Studio Code prompts you to confirm, click **deploy**. The deployment process may take a few moments. When the process completes, a notification should appear in the bottom right corner prompting you to browse to the deployed app.
0 commit comments