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
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/user-flow-password-complexity.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Allows you to control the length requirements of the password.
69
69
Allows you to control the different character types used in the password.
70
70
71
71
-**2 of 4: Lowercase character, Uppercase character, Number (0-9), Symbol** ensures the password contains at least two character types. For example, a number and a lowercase character.
72
-
-**3 of 4: Lowercase character, Uppercase character, Number (0-9), Symbol** ensures the password contains at least two character types. For example, a number, a lowercase character and an uppercase character.
72
+
-**3 of 4: Lowercase character, Uppercase character, Number (0-9), Symbol** ensures the password contains at least three character types. For example, a number, a lowercase character and an uppercase character.
73
73
-**4 of 4: Lowercase character, Uppercase character, Number (0-9), Symbol** ensures the password contains all for character types.
Copy file name to clipboardExpand all lines: articles/automation/automation-dsc-compile.md
+19-17Lines changed: 19 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,14 +23,16 @@ determine when to use which method based on the characteristics of each:
23
23
- Work with node and non-node data at scale
24
24
- Significant performance improvement
25
25
26
+
For compilation details, see [Desired State Configuration extension with Azure Resource Manager templates](https://docs.microsoft.com/azure/virtual-machines/extensions/dsc-template#details).
27
+
26
28
## Compiling a DSC Configuration in Azure State Configuration
27
29
28
30
### Portal
29
31
30
32
1. From your Automation account, click **State configuration (DSC)**.
31
33
1. Click on the **Configurations** tab, then click on the configuration name to compile.
32
34
1. Click **Compile**.
33
-
1. If the configuration has no parameters, you are prompted to confirm whether you want to compile it. If the configuration has parameters, the **Compile Configuration** blade opens so you can provide parameter values. See the following [**Basic Parameters**](#basic-parameters) section for further details on parameters.
35
+
1. If the configuration has no parameters, you are prompted to confirm whether you want to compile it. If the configuration has parameters, the **Compile Configuration** blade opens so that you can provide parameter values.
34
36
1. The **Compilation Job** page is opened so that you can track the compilation job's status, and the node configurations (MOF configuration documents) it caused to be placed on the Azure Automation State Configuration Pull Server.
For information about passing PSCredentials as parameters, see [Credential Assets](#credential-assets) below.
127
129
128
-
### Compiling configurations in Azure Automation that contain Composite Resources
130
+
### Compile configurations containing composite resources in Azure Automation
129
131
130
-
**Composite Resources**allow you to use DSC configurations as nested resources inside of a
132
+
The **Composite Resources**feature allows you to use DSC configurations as nested resources inside of a
131
133
configuration. This enables you to apply multiple configurations to a single resource. See
132
134
[Composite resources: Using a DSC configuration as a resource](/powershell/scripting/dsc/resources/authoringresourcecomposite)
133
-
to learn more about **Composite Resources**.
135
+
to learn more about composite resources.
134
136
135
137
> [!NOTE]
136
-
> In order for configurations containing **Composite Resources** to compile correctly, you must first ensure that any DSC Resources that the composite relies on are first imported in to Azure Automation.
138
+
> For configurations containing **Composite Resources** to compile correctly, you must first ensure that any DSC Resources that the composite relies on are first imported in to Azure Automation.
137
139
138
140
Adding a DSC **Composite Resource** is no different than adding any PowerShell module to Azure Automation.
139
141
The step by step instruction for this process is documented in the article
140
142
[Manage Modules in Azure Automation](/azure/automation/shared-resources/modules).
141
143
142
-
### Managing ConfigurationData when compiling configuration in Azure Automation
144
+
### Manage ConfigurationData when compiling configurations in Azure Automation
143
145
144
146
**ConfigurationData** allows you to separate structural configuration from any environment-specific
145
147
configuration while using PowerShell DSC. See [Separating "What" from "Where" in PowerShell DSC](https://blogs.msdn.com/b/powershell/archive/2014/01/09/continuous-deployment-using-dsc-with-minimal-change.aspx)
> When compilation is complete you may receive an error stating: **The 'Microsoft.PowerShell.Management' module was not imported because the 'Microsoft.PowerShell.Management' snap-in was already imported.** This warning can safely be ignored.
279
281
280
-
## Compiling configurations in Windows PowerShell and publishing to Azure Automation
282
+
## Compiling configurations in Windows PowerShell
281
283
282
284
You can also import node configurations (MOFs) that have been compiled outside of Azure.
283
285
This includes compiling from a developer workstation or in a service such as
@@ -292,7 +294,7 @@ ensuring that the configuration being applied to the node comes from an authoriz
292
294
293
295
For more information about how to sign node configurations, see [Improvements in WMF 5.1 - How to sign configuration and module](/powershell/scripting/wmf/whats-new/dsc-improvements#dsc-module-and-configuration-signing-validations).
294
296
295
-
### Compiling a configuration in Windows PowerShell
297
+
### Compile a configuration in Windows PowerShell
296
298
297
299
The process to compile DSC configurations in Windows PowerShell is included in the PowerShell DSC documentation
298
300
[Write, Compile, and Apply a Configuration](/powershell/scripting/dsc/configurations/write-compile-apply-configuration#compile-the-configuration).
@@ -302,7 +304,7 @@ This can be executed from a developer workstation or within a build service such
302
304
The MOF file or files produced by compiling the configuration can then be imported directly
303
305
in to the Azure State Configuration service.
304
306
305
-
### Importing a node configuration in the Azure portal
307
+
### Import a node configuration in the Azure portal
306
308
307
309
1. From your Automation account, click **State configuration (DSC)** under **Configuration Management**.
308
310
1. In the **State configuration (DSC)** page, click on the **Configurations** tab, then click **+ Add**.
@@ -313,7 +315,7 @@ in to the Azure State Configuration service.
313
315
1. Enter a name in the **Configuration Name** textbox. This name must match the name of the configuration from which the node configuration was compiled.
314
316
1. Click **OK**.
315
317
316
-
### Importing a node configuration with Azure PowerShell
318
+
### Import a node configuration with Azure PowerShell
317
319
318
320
You can use the [Import-AzAutomationDscNodeConfiguration](/powershell/module/az.automation/import-azautomationdscnodeconfiguration)
319
321
cmdlet to import a node configuration into your automation account.
- To get started, see [Getting started with Azure Automation State Configuration](automation-dsc-getting-started.md)
328
-
- To learn about compiling DSC configurations so that you can assign them to target nodes, see [Compiling configurations in Azure Automation State Configuration](automation-dsc-compile.md)
329
-
- For PowerShell cmdlet reference, see [Azure Automation State Configuration cmdlets](/powershell/module/az.automation)
330
-
- For pricing information, see [Azure Automation State Configuration pricing](https://azure.microsoft.com/pricing/details/automation/)
331
-
- To see an example of using Azure Automation State Configuration in a continuous deployment pipeline, see [Continuous Deployment Using Azure Automation State Configuration and Chocolatey](automation-dsc-cd-chocolatey.md)
329
+
- To get started, see [Getting started with Azure Automation State Configuration](automation-dsc-getting-started.md.
330
+
- To learn about compiling DSC configurations so that you can assign them to target nodes, see [Compiling configurations in Azure Automation State Configuration](automation-dsc-compile.md).
331
+
- For PowerShell cmdlet reference, see [Azure Automation State Configuration cmdlets](/powershell/module/az.automation).
332
+
- For pricing information, see [Azure Automation State Configuration pricing](https://azure.microsoft.com/pricing/details/automation/).
333
+
- To see an example of using Azure Automation State Configuration in a continuous deployment pipeline, see [Continuous Deployment Using Azure Automation State Configuration and Chocolatey](automation-dsc-cd-chocolatey.md).
Copy file name to clipboardExpand all lines: articles/automation/automation-dsc-diagnostics.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ To start sending your Automation State Configuration reports to Azure Monitor lo
34
34
- An Azure Automation account. For more information, see [An introduction to Azure Automation](automation-intro.md).
35
35
- A Log Analytics workspace with an Automation & Control service offering. For more information, see [Get started with Log Analytics in Azure Monitor](https://docs.microsoft.com/azure/azure-monitor/log-query/get-started-portal).
36
36
- At least one Azure Automation State Configuration node. For more information, see [Onboarding machines for management by Azure Automation State Configuration](automation-dsc-onboarding.md).
37
-
- The [xDscDiagnostics](https://www.powershellgallery.com/packages/xDscDiagnostics/2.7.0.0) module, version 2.7.0.0 or greater. For installation steps, see [Troubleshoot Azure Automation Desired State Configuration](./troubleshoot/desired-state-configuration.md#steps-to-troubleshoot-desired-state-configuration-dsc).
37
+
- The [xDscDiagnostics](https://www.powershellgallery.com/packages/xDscDiagnostics/2.7.0.0) module, version 2.7.0.0 or greater. For installation steps, see [Troubleshoot Azure Automation Desired State Configuration](./troubleshoot/desired-state-configuration.md).
Copy file name to clipboardExpand all lines: articles/automation/troubleshoot/desired-state-configuration.md
+27-25Lines changed: 27 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,35 +14,37 @@ manager: carmonm
14
14
15
15
This article provides information on troubleshooting issues with Desired State Configuration (DSC).
16
16
17
-
## Steps to troubleshoot Desired State Configuration (DSC)
17
+
## Diagnosing an issue
18
18
19
-
When you have errors compiling or deploying configurations in Azure State Configuration, here are a few
20
-
steps to help you diagnose the issue.
19
+
When you have errors while compiling or deploying configurations in Azure State Configuration, here are a few steps to help you diagnose the issue.
21
20
22
-
1.**Ensure your configuration compiles successfully on your local machine:** Azure State Configuration
23
-
is built on PowerShell DSC. You can find the documentation for the DSC language and syntax in
24
-
the [PowerShell DSC Docs](https://docs.microsoft.com/powershell/scripting/overview).
21
+
### 1. Ensure that your configuration compiles successfully on the local machine
25
22
26
-
By compiling your DSC configuration on your local machine you can discover and resolve common errors, such as:
23
+
Azure State Configuration is built on PowerShell DSC. You can find the documentation for the DSC language and syntax in the [PowerShell DSC Docs](https://docs.microsoft.com/powershell/scripting/overview).
27
24
28
-
-**Missing Modules**
29
-
-**Syntax Errors**
30
-
-**Logic Errors**
25
+
By compiling your DSC configuration on your local machine, you can discover and resolve common errors, such as:
31
26
32
-
2.**View DSC logs on your Node:** If your configuration compiles successfully, but fails when applied to a Node, you can find
33
-
detailed information in the logs. For information about where to find DSC logs, see [Where are the DSC Event Logs](/powershell/scripting/dsc/troubleshooting/troubleshooting#where-are-dsc-event-logs).
27
+
- Missing modules
28
+
- Syntax errors
29
+
- Logic errors
34
30
35
-
Furthermore, the [xDscDiagnostics](https://github.com/PowerShell/xDscDiagnostics) can assist you in parsing detailed information
36
-
from the DSC logs. If you contact support, they will require these logs to diagnose your issue.
31
+
### 2. View DSC logs on your node
37
32
38
-
You can install **xDscDiagnostics** on your local machine using the instructions found under [Install the stable version module](https://github.com/PowerShell/xDscDiagnostics#install-the-stable-version-module).
33
+
If your configuration compiles successfully, but fails when applied to a node, you can find detailed information in the DSC logs. For information about where to find these logs, see [Where are the DSC Event Logs](/powershell/scripting/dsc/troubleshooting/troubleshooting#where-are-dsc-event-logs).
39
34
40
-
To install **xDscDiagnostics** on your Azure machine, you can use [az vm run-command](/cli/azure/vm/run-command) or [Invoke-AzVMRunCommand](/powershell/module/azurerm.compute/invoke-azurermvmruncommand). You can also use the **Run command** option from the portal, by following the steps found in [Run PowerShell scripts in your Windows VM with Run Command](../../virtual-machines/windows/run-command.md).
35
+
The [xDscDiagnostics](https://github.com/PowerShell/xDscDiagnostics)modulecan assist you in parsing detailed information from the DSC logs. If you contact support, they require these logs to diagnose your issue.
41
36
42
-
For information on using **xDscDiagnostics**, see [Using xDscDiagnostics to analyze DSC logs](/powershell/scripting/dsc/troubleshooting/troubleshooting#using-xdscdiagnostics-to-analyze-dsc-logs), as well as [xDscDiagnostics Cmdlets](https://github.com/PowerShell/xDscDiagnostics#cmdlets).
43
-
3.**Ensure your Nodes and Automation workspace have the required modules:** Desired State Configuration depends on modules installed on the Node. When using Azure Automation State Configuration, import any required modules into your automation account using the steps listed in [Import Modules](../shared-resources/modules.md#import-modules). Configurations can also have a dependency on specific versions of modules. For more information, see, [Troubleshoot Modules](shared-resources.md#modules).
37
+
You can install the xDscDiagnostics module on your local machine using the instructions found in [Install the stable version module](https://github.com/PowerShell/xDscDiagnostics#install-the-stable-version-module).
44
38
45
-
## Common errors when working with Desired State Configuration (DSC)
39
+
To install the xDscDiagnostics module on your Azure machine, use [Invoke-AzVMRunCommand](/powershell/module/azurerm.compute/invoke-azurermvmruncommand). You can also use the **Run command** option from the portal, by following the steps found in [Run PowerShell scripts in your Windows VM with Run Command](../../virtual-machines/windows/run-command.md).
40
+
41
+
For information on using xDscDiagnostics, see [Using xDscDiagnostics to analyze DSC logs](/powershell/scripting/dsc/troubleshooting/troubleshooting#using-xdscdiagnostics-to-analyze-dsc-logs). See also [xDscDiagnostics Cmdlets](https://github.com/PowerShell/xDscDiagnostics#cmdlets).
42
+
43
+
### 3. Ensure that nodes and the Automation workspace have required modules
44
+
45
+
DSC depends on modules installed on the node. When using Azure Automation State Configuration, import any required modules into your Automation account using the steps listed in [Import Modules](../shared-resources/modules.md#import-modules). Configurations can also have a dependency on specific versions of modules. For more information, see [Troubleshoot Modules](shared-resources.md#modules).
46
+
47
+
## Common errors when working with DSC
46
48
47
49
### <aname="unsupported-characters"></a>Scenario: A configuration with special characters cannot be deleted from the portal
48
50
@@ -96,7 +98,7 @@ Verify your machine has access to the proper endpoints for Azure Automation DSC
96
98
When registering a Node with State Configuration (DSC) you receive one of the following error messages:
97
99
98
100
```error
99
-
The attempt to send status report to the server https://{your automation account url}/accounts/xxxxxxxxxxxxxxxxxxxxxx/Nodes(AgentId='xxxxxxxxxxxxxxxxxxxxxxxxx')/SendReport returned unexpected response code Unauthorized.
101
+
The attempt to send status report to the server https://{your Automation account URL}/accounts/xxxxxxxxxxxxxxxxxxxxxx/Nodes(AgentId='xxxxxxxxxxxxxxxxxxxxxxxxx')/SendReport returned unexpected response code Unauthorized.
100
102
```
101
103
102
104
```error
@@ -113,7 +115,7 @@ Follow the steps listed below to re-register the failing DSC node.
113
115
114
116
First, un-register the node using the following steps.
115
117
116
-
1. From the Azure portal, under **Home** -> **Automation Accounts**-> {Your Automation Account} -> **State configuration (DSC)**
118
+
1. From the Azure portal, under **Home** -> **Automation Accounts**-> {Your Automation account} -> **State configuration (DSC)**
117
119
2. Click "Nodes", and click on the node having trouble.
118
120
3. Click "Unregister" to un-register the node.
119
121
@@ -145,7 +147,7 @@ If (($certs.Count) -gt 0)
145
147
146
148
Finally, re-register the failing node using the following steps.
147
149
148
-
1. From the Azure portal, under **Home** -> **Automation Accounts** -> {Your Automation Account} -> **State configuration (DSC)**
150
+
1. From the Azure portal, under **Home** -> **Automation Accounts** -> {Your Automation account} -> **State configuration (DSC)**
149
151
2. Click "Nodes".
150
152
3. Click the "Add" button.
151
153
4. Select the failing node.
@@ -228,7 +230,7 @@ You've used a credential in a configuration but didn’t provide proper **Config
228
230
229
231
#### Resolution
230
232
231
-
* Make sure to pass in the proper **ConfigurationData** to set **PSDscAllowPlainTextPassword** to true for each node configuration that is mentioned in the configuration. For more information, see [assets in Azure Automation DSC](../automation-dsc-compile.md#working-with-assets-in-azure-automation-during-compilation).
233
+
* Make sure to pass in the proper **ConfigurationData** to set **PSDscAllowPlainTextPassword** to true for each node configuration that is mentioned in the configuration. For more information, see [Compiling DSC configurations in Azure Automation State Configuration](../automation-dsc-compile.md).
232
234
233
235
### <aname="failure-processing-extension"></a>Scenario: Onboarding from dsc extension, "Failure processing extension" error
234
236
@@ -261,7 +263,7 @@ One or more errors occurred.
261
263
262
264
#### Cause
263
265
264
-
This error occurs when you attempt to register a node that lives in a separate subscription than the Automation Account.
266
+
This error occurs when you attempt to register a node that lives in a separate subscription than the Automation account.
265
267
266
268
#### Resolution
267
269
@@ -330,6 +332,6 @@ The best workaround would be to compile locally or in a CI/CD pipeline and uploa
330
332
331
333
If you didn't see your problem or are unable to solve your issue, visit one of the following channels for more support:
332
334
333
-
* Get answers from Azure experts through [Azure Forums](https://azure.microsoft.com/support/forums/)
335
+
* Get answers from Azure experts through [Azure Forums](https://azure.microsoft.com/support/forums/).
334
336
* 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.
335
337
* 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