Complete the Azure Resource Manager onboarding process for US government Lifecycle Services projects
This article explains how to complete the Microsoft Azure Resource Manager onboarding process for your connectors.
To deploy Azure Resource Manager topologies, you must complete the Resource Manager onboarding process for your connectors. To start the onboarding process, you must have the following items:
The Azure subscription ID that you're deploying to
For US government Microsoft Dynamics Lifecycle Services (LCS) projects,
- Only Azure Government–specific Azure subscriptions are supported.
- Azure Government Subscriptions where management certificate support is not available, for example CSP Azure subscriptions are not supported currently.
Ownership of the Azure subscription, or access to the subscription owner, so that you can add contributor workflows and upload the management certificate
The tenant administrator, so that you can work through the admin consent workflow
Resource Manager onboarding process
You can consider Resource Manager onboarding a two-step procedure, where each step has its own sub-procedures. You must complete all these sub-procedures for every subscription that you add to the LCS project.
Authorize the LCS deployment service to work on the Azure subscription.
- Authorize the workflow.
- Set the contributor workflow.
Enable the Azure subscription to deploy Resource Manager resources.
- Enable the Azure connector, and add an LCS user.
- Upload the management certificate.
- Configure deployment settings.
Authorize the LCS deployment service to work on the Azure subscription
Complete the following procedures to authorize the LCS deployment service to work on the Azure subscription.
Authorize the workflow
Be sure that you have Azure Active Directory (Azure AD) PowerShell cmdlets installed. For more information, see Install Azure Active Directory PowerShell for Graph.
The following two app IDs must be authorized on the Azure AD tenant:
Follow these steps to authorize the app IDs on the tenant. Complete this procedure for each application.
Sign in via the Azure AD PowerShell cmdlet. Use the tenant administrator account to sign in.
Make sure that the service principal isn't already installed.
Get-AzureADServicePrincipal -Filter "AppId eq '<AppId>'"
Add the service principal.
New-AzureADServicePrincipal -AppId <AppId>
Verify that each application ID is added successfully.
$sp = Get-AzureADServicePrincipal -Filter "AppId eq '<AppId>'"
Set the contributor workflow
Follow these steps to assign the Contributor role to the Dynamics Deployment Services [wsfed-enabled] application.
In the Azure Government portal, on the Subscription tab, select the Azure subscription, and then select the Access Control (IAM) item on the navigation menu.
Select Add, and then select Add role assignment.
In the Add role assignment dialog box, set the Role field to Contributor, and set the Assign access to field to Azure AD user, group, or service principal. In the Select field, search for and select Dynamics Deployment Services [wsfed-enabled]. Then select Save.
Some Azure subscriptions have a Users item instead of an Access control (IAM) item on the navigation menu. In this case, in the Add users dialog box, in the Select field, enter Dynamics Deployment Services [wsfed-enabled]. Then select Select.
On the Role assignments tab, the app is assigned as a contributor.
If Dynamics Deployment Services [wsfed-enabled] doesn't appear, the authorization process hasn't been completed, or it was completed on another Azure subscription.
Enable the Azure subscription to deploy Resource Manager resources
Complete the following procedures to enable the Azure subscription to deploy Resource Manager resources.
Enable the Azure connector and add an LCS user
Follow these steps to enable the Azure connector and, as required, add an LCS user.
In LCS, on the Project page, at the top of the page, select the hamburger icon, and then select Project settings.
On the Project settings page, select the Azure connectors tab.
On the Project settings page, on the Azure connectors tab, under Azure connectors, select Add.
If you're enabling Resource Manager for an existing connector, select Edit instead of Add.
Enter the connector name, enter the Azure subscription ID to deploy to, and set the Configure to use Azure Resource manager (ARM) option to Yes.
In the Azure subscription AAD Tenant domain field, enter the domain name of the Azure subscription account admin, and then select Next.
On the Microsoft Azure setup page, select Download. Make a note of the location of the certificate file that is downloaded. You will use this information to upload the certificate to the Azure subscription.
In the Azure Government portal, go to your subscription. In the left pane, select Management Certificates.
Filter to the Azure subscription that is used, and then, on the Management certificates tab, select Upload.
Select the Management certificate that you downloaded in step 5, and then select OK.
Configure deployment settings
- In LCS, on the Project page, at the top of the page, select the hamburger icon, and then select Project settings.
- On the Project settings page, select the Azure connectors tab.
- On the Project settings page, on the Azure connectors tab, under Azure connectors, select Add.
- On the Microsoft Azure setup page, select the region to deploy to, and then select Connect. The Resource Manager onboarding flow is now completed. You should now see that the subscription has been added to the Azure connectors list. Additionally, a check mark should appear under ARM Enabled.
Submit and view feedback for