How to create a deployment at a management group using Azure PowerShell
Description:
The cmdlet upon execution adds a deployment at a management group. The management group, location and a template needs to be specified to add a deployment. The location informs Azure Resource Manager on where to store the deployment data. The template comprises of a JSON string containing individual resources to be deployed. Custom templates can be applied by specifying TemplateURI and TemplateFile parameters. Parameters in a template are configurable and to specify parameter values, the TemplateParameterFile or the TemplateParameterObject needs to be defined. You can also dynamically add template parameters using the command prompt. Alternatively dynamic parameters can be added by typing a minus sign (-) to indicate a parameter and use the Tab key to cycle through available parameters. Parameters specified at command prompt override the ones specified in the template parameter object or file.
The New-AzResourceGroupDeployment cmdlet adds resources to a resource group and creates a deployment. To add resources at tenant level, use the New-AzTenantDeployment which creates a deployment at tenant level.
PowerShell:
Example:
Use a custom template and parameter file to create a deployment
This command creates a new deployment at the management group "OrgMG" by defining custom template and a template file. The command uses the TemplateFile parameter to specify the template and the TemplateParameterFile parameter to specify the file that containing parameters and parameter values.
About ADAudit Plus
ADAudit Plus is a real time change auditing software that helps keep your Active Directory, Azure AD, Windows file servers, NetApp filers, EMC file systems, Synology file systems, Windows member servers, and workstations secure. With ADAudit Plus, you can get visibility into:
- Authorized and unauthorized AD management changes
- User logons, logoffs, and account lockouts
- GPO changes
- Group attribute and membership changes
- OU changes
- Privileged access and permission changes among other things.
There are more than 200 event-specific reports, and you can configure instant email alerts. You can also export the reports to XLS, HTML, PDF and CSV formats to assist in interpretation and forensics. For more information on ADAudit Plus, visit: https://www.manageengine.com/active-directory-audit/.
Explore Active Directory auditing and reporting with ADAudit Plus.
- Related Products
- ADManager Plus Active Directory Management & Reporting
- ADAudit Plus Real-time Active Directory Auditing and UBA
- EventLog Analyzer Real-time Log Analysis & Reporting
- ADSelfService Plus Self-Service Password Management
- AD360 Integrated Identity & Access Management
- Log360 (On-Premise | Cloud) Comprehensive SIEM and UEBA
- AD Free Tools Active Directory FREE Tools
