Skip to content

Commit 627ed0e

Browse files
authored
Merge pull request #102929 from MicrosoftDocs/master
Merge Master to Live, 4 AM
2 parents 67e9f4c + 556f62f commit 627ed0e

File tree

102 files changed

+1295
-351
lines changed

Some content is hidden

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

102 files changed

+1295
-351
lines changed

CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ articles/chef/ @TomArcherMsft
88
articles/jenkins/ @TomArcherMsft
99
articles/terraform/ @TomArcherMsft
1010

11+
# Requires Internal Review
12+
articles/best-practices-availability-paired-regions.md @jpconnock @arob98 @syntaxc4 @tysonn @snoviking
13+
1114
# Governance
1215
articles/governance/ @DCtheGeek
1316

articles/active-directory/develop/TOC.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -740,18 +740,18 @@
740740
items:
741741
- name: Glossary
742742
href: developer-glossary.md
743-
- name: Azure roadmap
744-
href: https://azure.microsoft.com/roadmap/?category=security-identity
743+
- name: Videos
744+
href: identity-videos.md
745745
- name: Azure AD blog
746746
href: https://cloudblogs.microsoft.com/enterprisemobility/?product=azure-active-directory
747747
- name: Microsoft identity platform developer blog
748748
href: https://developer.microsoft.com/en-us/identity/blogs/
749+
- name: Azure roadmap
750+
href: https://azure.microsoft.com/roadmap/?category=security-identity
749751
- name: Try Sign in with Microsoft
750752
href: https://azure.microsoft.com/develop/identity/signin/
753+
- name: Managed identities for Azure resources
754+
href: https://docs.microsoft.com/azure/active-directory/managed-service-identity/overview
751755
- name: Getting help
752756
displayName: support, help options
753757
href: developer-support-help-options.md
754-
- name: Managed identities for Azure resources
755-
href: https://docs.microsoft.com/azure/active-directory/managed-service-identity/overview
756-
- name: Microsoft identity platform videos
757-
href: identity-videos.md

articles/active-directory/develop/scenario-protected-web-api-app-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The bearer token that's set in the header when the app is called holds informati
4444
Here's a C# code example that shows a client calling the API after it acquires a token with Microsoft Authentication Library for .NET (MSAL.NET):
4545

4646
```csharp
47-
var scopes = new[] {$"api://.../access_as_user}";
47+
var scopes = new[] {$"api://.../access_as_user"};
4848
var result = await app.AcquireToken(scopes)
4949
.ExecuteAsync();
5050

articles/active-directory/hybrid/how-to-connect-pta-user-privacy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To view logs related to the Pass-through Authentication Agent, open the **Event
6868

6969
### Delete Authentication Agent trace log files
7070

71-
You should regularly check the contents of <strong>%ProgramData%\Microsoft\Azure AD Connect Authentication Agent\Trace\</strong> and delete the contents of this folder every 48 hours.
71+
You should regularly check the contents of **%ProgramData%\Microsoft\Azure AD Connect Authentication Agent\Trace** and delete the contents of this folder every 48 hours.
7272

7373
>[!IMPORTANT]
7474
>If the Authentication Agent service is running, you'll not be able to delete the current log file in the folder. Stop the service before trying again. To avoid user sign-in failures, you should have already configured Pass-through Authentication for [high availability](how-to-connect-pta-quick-start.md#step-4-ensure-high-availability).

articles/aks/tutorial-kubernetes-deploy-cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To configure `kubectl` to connect to your Kubernetes cluster, use the [az aks ge
6868
az aks get-credentials --resource-group myResourceGroup --name myAKSCluster
6969
```
7070

71-
To verify the connection to your cluster, run the [kubectl get nodes][kubectl-get] command:
71+
To verify the connection to your cluster, run the [kubectl get nodes][kubectl-get] command to return a list of the cluster nodes:
7272

7373
```
7474
$ kubectl get nodes

articles/automation/troubleshoot/hybrid-runbook-worker.md

Lines changed: 45 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Runbook execution fails and you receive the following error:
2828
"The job action 'Activate' cannot be run, because the process stopped unexpectedly. The job action was attempted three times."
2929
```
3030

31-
Your runbook is suspended shortly after it attempts to execute it three times. There are conditions, which may interrupt the runbook from completing. When this happens, the related error message may not include any additional information that tells you why.
31+
Your runbook is suspended shortly after it attempts to execute it three times. There are conditions that may interrupt the runbook from completing. The related error message may not include any additional information.
3232

3333
#### Cause
3434

@@ -40,15 +40,15 @@ The following are potential possible causes:
4040

4141
* The runbooks can't authenticate with local resources
4242

43-
* The computer configured to run the Hybrid Runbook Worker feature does not meet the minimum hardware requirements.
43+
* The computer configured to run the Hybrid Runbook Worker feature doesn't meet the minimum hardware requirements.
4444

4545
#### Resolution
4646

4747
Verify the computer has outbound access to *.azure-automation.net on port 443.
4848

49-
Computers running the Hybrid Runbook Worker should meet the minimum hardware requirements before it is configured to host this feature. Runbooks and the background processes they use may cause the system to be over utilized and cause runbook job delays or timeouts.
49+
Computers running the Hybrid Runbook Worker should meet the minimum hardware requirements before the worker is configured to host this feature. Runbooks and the background processes they use may cause the system to be over-used and cause runbook job delays or timeouts.
5050

51-
Confirm the computer that will run the Hybrid Runbook Worker feature meets the minimum hardware requirements. If it does, monitor CPU and memory use to determine any correlation between the performance of Hybrid Runbook Worker processes and Windows. If there's memory or CPU pressure, this may indicate the need to upgrade resources. You can also select a different compute resource that can support the minimum requirements and scale when workload demands indicate an increase is necessary.
51+
Confirm the computer that will run the Hybrid Runbook Worker feature meets the minimum hardware requirements. If it does, monitor CPU and memory use to determine any correlation between the performance of Hybrid Runbook Worker processes and Windows. Any memory or CPU pressure may indicate the need to upgrade resources. You can also select a different compute resource that can support the minimum requirements and scale when workload demands indicate an increase is necessary.
5252

5353
Check the **Microsoft-SMA** event log for a corresponding event with description *Win32 Process Exited with code [4294967295]*. The cause of this error is you haven't configured authentication in your runbooks or specified the Run As credentials for the Hybrid worker group. Review [Runbook permissions](../automation-hrw-run-runbooks.md#runbook-permissions) to confirm you have correctly configured authentication for your runbooks.
5454

@@ -73,17 +73,17 @@ This error occurs when you attempt to use a [Run As Account](../manage-runas-acc
7373

7474
#### Resolution
7575

76-
If your Hybrid Runbook Worker is an Azure VM, you can use [Managed Identities for Azure Resources](../automation-hrw-run-runbooks.md#managed-identities-for-azure-resources) instead. This scenario allows you to authenticate to Azure resources using the managed identity of the Azure VM instead of the Run As Account, simplifying authentication. When the Hybrid Runbook Worker is an on-premises machine, you need to install the Run As Account certificate on the machine. To learn how to install the certificate, see the steps to run the [Export-RunAsCertificateToHybridWorker](../automation-hrw-run-runbooks.md#runas-script) runbook.
76+
If your Hybrid Runbook Worker is an Azure VM, you can use [Managed Identities for Azure Resources](../automation-hrw-run-runbooks.md#managed-identities-for-azure-resources) instead. This scenario simplifies authentication by allowing you to authenticate to Azure resources using the managed identity of the Azure VM instead of the Run As Account. When the Hybrid Runbook Worker is an on-premises machine, you need to install the Run As Account certificate on the machine. To learn how to install the certificate, see the steps to run the [Export-RunAsCertificateToHybridWorker](../automation-hrw-run-runbooks.md#runas-script) runbook.
7777

7878
## Linux
7979

8080
The Linux Hybrid Runbook Worker depends on the [Log Analytics agent for Linux](../../azure-monitor/platform/log-analytics-agent.md) to communicate with your Automation account to register the worker, receive runbook jobs, and report status. If registration of the worker fails, here are some possible causes for the error:
8181

82-
### <a name="oms-agent-not-running"></a>Scenario: The Log Analyics agent for Linux isn't running
82+
### <a name="oms-agent-not-running"></a>Scenario: The Log Analytics agent for Linux isn't running
8383

8484
#### Issue
8585

86-
The Log Analytics agent for Linux is not running
86+
The Log Analytics agent for Linux isn't running
8787

8888
#### Cause
8989

@@ -106,13 +106,40 @@ The following list shows the processes that are started for a Linux Hybrid Runbo
106106

107107
* **worker.conf** - This process is the Auto Registered Hybrid worker process, it's started by the worker manager. This process is used by Update Management and is transparent to the user. This process isn't present if the Update Management solution isn't enabled on the machine.
108108

109-
* **diy/worker.conf** - This process is the DIY hybrid worker process. The DIY hybrid worker process is used to execute user runbooks on the Hybrid Runbook Worker. It only differs from the Auto registered Hybrid worker process in the key detail that is uses a different configuration. This process isn't present if the Azure Automation solution is disabled, and the DIY Linux Hybrid Worker isn't registered.
109+
* **diy/worker.conf** - This process is the DIY hybrid worker process. The DIY hybrid worker process is used to execute user runbooks on the Hybrid Runbook Worker. It only differs from the Auto registered Hybrid worker process in the key detail that it uses a different configuration. This process isn't present if the Azure Automation solution is disabled and the DIY Linux Hybrid Worker isn't registered.
110110

111111
If the agent isn't running, run the following command to start the service: `sudo /opt/microsoft/omsagent/bin/service_control restart`.
112112

113-
### <a name="class-does-not-exist"></a>Scenario: The specified class does not exist
113+
### <a name="error-403-on-registration"></a>Scenario: Error 403 during registration of Hybrid Runbook Worker
114114

115-
If you see the error: **The specified class does not exist..** in the `/var/opt/microsoft/omsconfig/omsconfig.log` then the Log Analytics agent for Linux needs to be updated. Run the following command to reinstall the agent:
115+
#### Issue
116+
117+
The worker's initial registration phase fails and you receive the following error (403).
118+
119+
```error
120+
"Forbidden: You don't have permission to access / on this server."
121+
```
122+
123+
#### Cause
124+
125+
The following are possible causes:
126+
* There's a mistyped workspace ID or workspace key (primary) in the agent’s settings.
127+
* The Hybrid Runbook Worker can't download the configuration, causing an account linking error. When Azure enables solutions, it supports only certain regions for linking a Log Analytics workspace and an Automation account. It's also possible that an incorrect date and/or time is set on the computer. If the time is +/-15 minutes from the current time, onboarding fails.
128+
129+
#### Resolution
130+
131+
##### Mistyped workspace ID/key
132+
To verify if the agent’s workspace ID or workspace key has been mistyped, see [Adding or removing a workspace – Windows agent](../../azure-monitor/platform/agent-manage.md#windows-agent) for the Windows agent or [Adding or removing a workspace – Linux agent](../../azure-monitor/platform/agent-manage.md#linux-agent) for the Linux agent. Make sure to select the full string from the Azure portal and copy and paste it carefully.
133+
134+
##### Configuration not downloaded
135+
136+
Your Log Analytics workspace and Automation Account must be in a linked region. For a list of supported regions, see [Azure Automation and Log Analytics workspace mappings](../how-to/region-mappings.md).
137+
138+
You might also need to update the date and or time zone of your computer. If you select a custom time range, make sure that the range is in UTC, which can differ from your local time zone.
139+
140+
### <a name="class-does-not-exist"></a>Scenario: The specified class doesn't exist
141+
142+
If you see the error **The specified class does not exist..** in the `/var/opt/microsoft/omsconfig/omsconfig.log`, the Log Analytics agent for Linux needs to be updated. Run the following command to reinstall the agent:
116143

117144
```bash
118145
wget https://raw.githubusercontent.com/Microsoft/OMS-Agent-for-Linux/master/installer/scripts/onboard_agent.sh && sh onboard_agent.sh -w <WorkspaceID> -s <WorkspaceKey>
@@ -130,13 +157,13 @@ The `healthservice` service isn't running on the Hybrid Runbook Worker machine.
130157

131158
#### Cause
132159

133-
If the Microsoft Monitoring Agent Windows service isn't running, this state prevents the Hybrid Runbook Worker from communicating with Azure Automation.
160+
If the Microsoft Monitoring Agent Microsoft service isn't running, this state prevents the Hybrid Runbook Worker from communicating with Azure Automation.
134161

135162
#### Resolution
136163

137164
Verify the agent is running by entering the following command in PowerShell: `Get-Service healthservice`. If the service is stopped, enter the following command in PowerShell to start the service: `Start-Service healthservice`.
138165

139-
### <a name="event-4502"></a> Event 4502 in Operations Manager log
166+
### <a name="event-4502"></a>Scenario: Event 4502 in Operations Manager log
140167

141168
#### Issue
142169

@@ -148,11 +175,11 @@ This issue can be caused by your proxy or network firewall blocking communicatio
148175

149176
#### Resolution
150177

151-
Logs are stored locally on each hybrid worker at C:\ProgramData\Microsoft\System Center\Orchestrator\7.2\SMA\Sandboxes. You can check if there are any warning or error events in the **Application and Services Logs\Microsoft-SMA\Operations** and **Application and Services Logs\Operations Manager** event log that would indicate a connectivity or other issue that affects onboarding of the role to Azure Automation or issue while under normal operations. For additional help troubleshooting issues with the Log Analytics agent, see [Troubleshoot issues with the Log Analytics Windows agent](../../azure-monitor/platform/agent-windows-troubleshoot.md).
178+
Logs are stored locally on each hybrid worker at C:\ProgramData\Microsoft\System Center\Orchestrator\7.2\SMA\Sandboxes. You can check if there are any warning or error events in the **Application and Services Logs\Microsoft-SMA\Operations** and **Application and Services Logs\Operations Manager** event log that indicate a connectivity or other issue that affects onboarding of the role to Azure Automation or issue while under normal operations. For additional help troubleshooting issues with the Log Analytics agent, see [Troubleshoot issues with the Log Analytics Windows agent](../../azure-monitor/platform/agent-windows-troubleshoot.md).
152179

153180
[Runbook output and messages](../automation-runbook-output-and-messages.md) are sent to Azure Automation from hybrid workers just like runbook jobs that run in the cloud. You can also enable the Verbose and Progress streams the same way you would for other runbooks.
154181

155-
### <a name="corrupt-cache"></a> Hybrid Runbook Worker not reporting
182+
### <a name="corrupt-cache"></a>Scenario: Hybrid Runbook Worker not reporting
156183

157184
#### Issue
158185

@@ -172,7 +199,7 @@ This issue can be caused by a corrupt cache on the Hybrid Runbook Worker.
172199

173200
#### Resolution
174201

175-
To resolve this issue, sign in to the Hybrid Runbook Worker and run the following script. This script stops the Microsoft Monitoring Agent, removes its cache, and restarts the service. This action forces the Hybrid Runbook Worker to re-download its configuration from Azure Automation.
202+
To resolve this issue, sign in to the Hybrid Runbook Worker and run the following script. This script stops the Microsoft Monitoring Agent, removes its cache, and restarts the service. This action forces the Hybrid Runbook Worker to redownload its configuration from Azure Automation.
176203

177204
```powershell
178205
Stop-Service -Name HealthService
@@ -182,7 +209,7 @@ Remove-Item -Path 'C:\Program Files\Microsoft Monitoring Agent\Agent\Health Serv
182209
Start-Service -Name HealthService
183210
```
184211

185-
### <a name="already-registered"></a>Scenario: You are unable to add a Hybrid Runbook Worker
212+
### <a name="already-registered"></a>Scenario: You can't add a Hybrid Runbook Worker
186213

187214
#### Issue
188215

@@ -194,7 +221,7 @@ Machine is already registered
194221

195222
#### Cause
196223

197-
This can be caused if the machine is already registered with a different Automation Account or if you try to re-add the Hybrid Runbook Worker after removing it from a machine.
224+
This issue can be caused if the machine is already registered with a different Automation Account or if you try to readd the Hybrid Runbook Worker after removing it from a machine.
198225

199226
#### Resolution
200227

@@ -208,5 +235,4 @@ If you didn't see your problem or are unable to solve your issue, visit one of t
208235

209236
* Get answers from Azure experts through [Azure Forums](https://azure.microsoft.com/support/forums/)
210237
* Connect with [@AzureSupport](https://twitter.com/azuresupport) – the official Microsoft Azure account for improving customer experience by connecting the Azure community to the right resources: answers, support, and experts.
211-
* If you need more help, you can file an Azure support incident. Go to the [Azure support site](https://azure.microsoft.com/support/options/) and select **Get Support**.
212-
238+
* If you need more help, you can file an Azure support incident. Go to the [Azure support site](https://azure.microsoft.com/support/options/) and select **Get Support**.

0 commit comments

Comments
 (0)