Microsoft Active Directory policy
Create, update, and delete Microsoft Active Directory policies in OneFuse
3 minute read
Setup overview
- Create a Microsoft Module Credential.
- Create a Microsoft Endpoint.
- Create a Microsoft Active Directory Policy.
- Generate Active Directory computers from Microsoft Active Directory policy executions through the OneFuse API or an Upstream Provider.
The user setting up the Microsoft AD Policy must have credentials to log in to the Microsoft AD instance.
Create a Microsoft Active Directory policy
Before creating an Active Directory Policy, create a Module Credential and Endpoint for Microsoft Active Directory.
- Go to Modules > Microsoft Active Directory.
- Find the Microsoft Active Directory Policies datatable and select Create.
- Fill out the Microsoft Active Directory Policy form and select Create.
| Workspace role | Module functions |
|---|---|
| Admin or Member | Create, update, view, and delete Microsoft AD Policies |
| Viewer | View Policies |
Update a Microsoft Active Directory policy
Update the Microsoft Active Directory Policy to change the name, description, Endpoint, computer settings, and OU settings.
- Access the Microsoft Active Directory Policies dashboard.
- Find the Policy to update and select the edit button.
- Edit the information on the Microsoft Active Directory Policy form.
- Select Update.
Delete a Microsoft Active Directory policy
A Microsoft Active Directory Policy cannot be deleted if it is associated with an existing Computer Name (Managed Object). Remove or unregister any managed objects attached to this policy before deleting.
- Access the Microsoft Active Directory Policies dashboard.
- Find the Policy and select the delete button.
- Select Delete to confirm.
Microsoft Active Directory policy form
| Field | Description |
|---|---|
| Microsoft Active Directory Policy Name | Enter a name for this Policy. |
| Description | Optional description for this Policy. |
| Microsoft Endpoint | Select the Microsoft Endpoint for this Microsoft Active Directory Policy. |
| Computer settings | |
| Computer Name Lettercase | Select the lettercase for all Computer Names added into Microsoft AD. |
| Organizational unit (OU) | |
| Use a Build OU? | Toggle to enable or disable using a Build OU for the machine during the build process. The parent OU must already exist unless Create OU is enabled. |
| Interim OU during Build | When Use a Build OU is enabled, enter the Build OU using a mix of static and templated text. For example, OU={{teamID | upper}},OU={{origID | lower}},OU={{LOCATION[02]}},DC=net. |
| Destination OU after Build | Enter the destination OU using a mix of static and templated text. For example, OU={{teamID | upper}},OU={{origID | lower}},OU={{LOCATION[02]}},DC=net. |
| Create OU | Toggle to determine whether the OU should be created automatically. |
| Remove OU | Toggle to determine whether the OU should be removed automatically. |
| Security groups (optional) | |
| Active Directory Security Group | Optionally enter the security group the machines will be added to, in Distinguished Name (DN) format. |
| Advanced | |
| Delete all Computer Accounts with matching Computer Name | Toggle to enable. Deletes all Computer Accounts that match the Computer Name being removed. |