Skip to content

Commit 13264a3

Browse files
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into pauljewell-py-undelete
2 parents e389294 + 6588dd7 commit 13264a3

File tree

92 files changed

+255
-187
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+255
-187
lines changed

.openpublishing.publish.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@
996996
"articles/iot-develop/.openpublishing.redirection.iot-develop.json",
997997
"articles/iot-dps/.openpublishing.redirection.iot-dps.json",
998998
"articles/iot-edge/.openpublishing.redirection.iot-edge.json",
999-
"articles/iot-fundamentals/.openpublishing.redirection.iot-fundamentals.json",
999+
"articles/iot/.openpublishing.redirection.iot.json",
10001000
"articles/iot-hub/.openpublishing.redirection.iot-hub.json",
10011001
"articles/load-testing/.openpublishing.redirection.azure-load-testing.json",
10021002
"articles/logic-apps/.openpublishing.redirection.logic-apps.json",

.openpublishing.redirection.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12510,12 +12510,12 @@
1251012510
},
1251112511
{
1251212512
"source_path_from_root": "/articles/security/fundamentals/iot-overview.md",
12513-
"redirect_url": "/azure/iot-fundamentals/iot-security-architecture",
12513+
"redirect_url": "/azure/iot/iot-security-architecture",
1251412514
"redirect_document_id": false
1251512515
},
1251612516
{
1251712517
"source_path_from_root": "/articles/security/fundamentals/iot-best-practices.md",
12518-
"redirect_url": "/azure/iot-fundamentals/iot-security-best-practices",
12518+
"redirect_url": "/azure/iot/iot-security-best-practices",
1251912519
"redirect_document_id": false
1252012520
},
1252112521
{

articles/azure-arc/servers/onboard-service-principal.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -53,41 +53,28 @@ The Azure Arc service in the Azure portal provides a streamlined way to create a
5353

5454
You can use [Azure PowerShell](/powershell/azure/install-az-ps) to create a service principal with the [New-AzADServicePrincipal](/powershell/module/Az.Resources/New-AzADServicePrincipal) cmdlet.
5555

56-
1. Run the following command. You must store the output of the [`New-AzADServicePrincipal`](/powershell/module/az.resources/new-azadserviceprincipal) cmdlet in a variable, or you will not be able to retrieve the password needed in a later step.
57-
56+
1. Check the context of your Azure PowerShell session to ensure you're working in the correct subscription. Use [Set-AzContext](/powershell/module/az.accounts/set-azcontext) if you need to change the subscription.
57+
5858
```azurepowershell-interactive
59-
$sp = New-AzADServicePrincipal -DisplayName "Arc-for-servers" -Role "Azure Connected Machine Onboarding"
60-
$sp
61-
```
62-
63-
```output
64-
Secret : System.Security.SecureString
65-
ServicePrincipalNames : {ad9bcd79-be9c-45ab-abd8-80ca1654a7d1, https://Arc-for-servers}
66-
ApplicationId : ad9bcd79-be9c-45ab-abd8-80ca1654a7d1
67-
ObjectType : ServicePrincipal
68-
DisplayName : Hybrid-RP
69-
Id : 5be92c87-01c4-42f5-bade-c1c10af87758
70-
Type :
59+
Get-AzContext
7160
```
72-
73-
2. To retrieve the password stored in the `$sp` variable, run the following command:
74-
61+
62+
1. Run the following command to create a service principal and assign it the Azure Connected Machine Onboarding role for the selected subscription. After the service principal is created, it will print the application ID and secret. The secret is valid for 1 year, after which you'll need to generate a new secret and update any scripts with the new secret.
63+
7564
```azurepowershell-interactive
76-
$credential = New-Object pscredential -ArgumentList "temp", $sp.Secret
77-
$credential.GetNetworkCredential().password
65+
$sp = New-AzADServicePrincipal -DisplayName "Arc server onboarding account" -Role "Azure Connected Machine Onboarding"
66+
$sp | Format-Table AppId, @{ Name = "Secret"; Expression = { $_.PasswordCredentials.SecretText }}
67+
```
68+
```output
69+
AppId Secret
70+
----- ------
71+
aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee PASSWORD_SHOWN_HERE
7872
```
7973
80-
3. In the output, find the values for the fields **password** and **ApplicationId**. You'll need these values later, so save them in a secure place. If you forget or lose your service principal password, you can reset it using the [`New-AzADSpCredential`](/powershell/module/az.resources/new-azadspcredential) cmdlet.
81-
82-
The values from the following properties are used with parameters passed to the `azcmagent`:
83-
84-
- The value from the **ApplicationId** property is used for the `--service-principal-id` parameter value
85-
- The value from the **password** property is used for the `--service-principal-secret` parameter used to connect the agent.
86-
87-
> [!TIP]
88-
> Make sure to use the service principal **ApplicationId** property, not the **Id** property.
89-
90-
4. Assign the **Azure Connected Machine Onboarding** role to the service principal for the designated resource group or subscription. This role contains only the permissions required to onboard a machine. Note that your account must be a member of the **Owner** or **User Access Administrator** role for the subscription to which the service principal will have access. For information on how to add role assignments, see [Assign Azure roles using the Azure portal](../../role-based-access-control/role-assignments-portal.md) or [Assign Azure roles using Azure CLI](../../role-based-access-control/role-assignments-cli.md).
74+
The values from the following properties are used with parameters passed to the `azcmagent`:
75+
76+
- The value from the **AppId** property is used for the `--service-principal-id` parameter value
77+
- The value from the **Secret** property is used for the `--service-principal-secret` parameter used to connect the agent.
9178
9279
## Generate the installation script from the Azure portal
9380
@@ -144,8 +131,21 @@ After you install the agent and configure it to connect to Azure Arc-enabled ser
144131
145132
![Screenshot showing a successful server connection in the Azure portal.](./media/onboard-portal/arc-for-servers-successful-onboard.png)
146133
134+
135+
136+
137+
138+
139+
140+
141+
142+
143+
147144
## Next steps
148145
149146
- Review the [Planning and deployment guide](plan-at-scale-deployment.md) to plan for deploying Azure Arc-enabled servers at any scale and implement centralized management and monitoring.
150147
- Learn how to [troubleshoot agent connection issues](troubleshoot-agent-onboard.md).
151148
- Learn how to manage your machines using [Azure Policy](../../governance/policy/overview.md) for such things as VM [guest configuration](../../governance/machine-configuration/overview.md), verifying that machines are reporting to the expected Log Analytics workspace, monitoring with [VM insights](../../azure-monitor/vm/vminsights-enable-policy.md), and more.
149+
```
150+
151+
```

articles/azure-maps/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ items:
500500
- name: Azure Maps code samples
501501
href: https://samples.azuremaps.com/
502502
- name: Support and help options
503-
href: ../iot-fundamentals/iot-support-help.md?toc=/azure/azure-maps/toc.json&bc=/azure/azure-maps/breadcrumb/toc.json
503+
href: ../iot/iot-support-help.md?toc=/azure/azure-maps/toc.json&bc=/azure/azure-maps/breadcrumb/toc.json
504504
- name: Azure Maps QPS Rate Limits
505505
href: azure-maps-qps-rate-limits.md
506506
- name: Azure IoT services

articles/digital-twins/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,6 @@
336336
- name: Azure portal
337337
href: https://portal.azure.com
338338
- name: Support and help options
339-
href: ../iot-fundamentals/iot-support-help.md?toc=/azure/digital-twins/toc.json&bc=/azure/digital-twins/breadcrumb/toc.json
339+
href: ../iot/iot-support-help.md?toc=/azure/digital-twins/toc.json&bc=/azure/digital-twins/breadcrumb/toc.json
340340
- name: IoT Glossary
341-
href: ../iot-fundamentals/iot-glossary.md?toc=/azure/digital-twins/toc.json&bc=/azure/digital-twins/breadcrumb/toc.json
341+
href: ../iot/iot-glossary.md?toc=/azure/digital-twins/toc.json&bc=/azure/digital-twins/breadcrumb/toc.json

articles/digital-twins/breadcrumb/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
topicHref: /azure/index
44
items:
55
- name: Internet of Things
6-
tocHref: /azure/iot-fundamentals/
7-
topicHref: /azure/iot-fundamentals/index
6+
tocHref: /azure/iot/
7+
topicHref: /azure/iot/index
88
items:
99
- name: Azure Digital Twins
1010
tocHref: /azure/digital-twins/
1111
topicHref: /azure/digital-twins/index/
1212
- name: Azure Digital Twins
13-
tocHref: /azure/iot-fundamentals/
13+
tocHref: /azure/iot/
1414
topicHref: /azure/digital-twins/index

articles/digital-twins/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ You can read about the service limits of Azure Digital Twins in the [Azure Digit
110110

111111
### Terminology
112112

113-
You can view a list of common IoT terms and their uses across the Azure IoT services, including Azure Digital Twins, in the [Azure IoT Glossary](../iot-fundamentals/iot-glossary.md?toc=/azure/digital-twins/toc.json&bc=/azure/digital-twins/breadcrumb/toc.json). This resource may be a useful reference while you get started with Azure Digital Twins and building an IoT solution.
113+
You can view a list of common IoT terms and their uses across the Azure IoT services, including Azure Digital Twins, in the [Azure IoT Glossary](../iot/iot-glossary.md?toc=/azure/digital-twins/toc.json&bc=/azure/digital-twins/breadcrumb/toc.json). This resource may be a useful reference while you get started with Azure Digital Twins and building an IoT solution.
114114

115115
## Next steps
116116

articles/event-hubs/event-hubs-federation-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Practically, that means your solution will maintain multiple Event Hubs, often
1818
in different regions and Event Hubs namespaces, and then replicate events between
1919
them. You might also exchange events with sources and targets like [Azure
2020
Service Bus](../service-bus-messaging/service-bus-messaging-overview.md), [Azure
21-
IoT Hub](../iot-fundamentals/iot-introduction.md), or [Apache
21+
IoT Hub](../iot/iot-introduction.md), or [Apache
2222
Kafka](https://kafka.apache.org).
2323

2424
Maintaining multiple active Event Hubs in different regions also allows clients

articles/industrial-iot/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@
9494
- name: IIoT Platform GitHub repository
9595
href: https://github.com/Azure/iot-edge-opc-publisher
9696
- name: Support and help options
97-
href: ../iot-fundamentals/iot-support-help.md?toc=/azure/industrial-iot/toc.json&bc=/azure/industrial-iot/breadcrumb/toc.json
97+
href: ../iot/iot-support-help.md?toc=/azure/industrial-iot/toc.json&bc=/azure/industrial-iot/breadcrumb/toc.json
9898
- name: IoT Glossary
99-
href: ../iot-fundamentals/iot-glossary.md?toc=/azure/industrial-iot/toc.json&bc=/azure/industrial-iot/breadcrumb/toc.json
99+
href: ../iot/iot-glossary.md?toc=/azure/industrial-iot/toc.json&bc=/azure/industrial-iot/breadcrumb/toc.json
100100
- name: Azure IoT services
101101
items:
102102
- name: IoT Hub

articles/industrial-iot/breadcrumb/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
topicHref: /azure/index
44
items:
55
- name: Internet of Things
6-
tocHref: /azure/iot-fundamentals/
7-
topicHref: /azure/iot-fundamentals/index
6+
tocHref: /azure/iot/
7+
topicHref: /azure/iot/index
88
items:
99
- name: Industrial IoT
1010
tocHref: /azure/iot-edge/
1111
topicHref: /azure/industrial-iot/index
1212
- name: Industrial IoT
13-
tocHref: /azure/iot-fundamentals/
13+
tocHref: /azure/iot/
1414
topicHref: /azure/industrial-iot/index

0 commit comments

Comments
 (0)