How to create a new D365FO cloud-hosted environment?
In Microsoft Dynamics Lifecycle services (LCS), there is a tool called "Cloud-hosted environments" that allows you to deploy D365FO environments on Microsoft Azure. And here are the steps to create a new environment for the first time:
- Sign in to LCS (https://lcs.dynamics.com) by filling your email and password
- Create
a new Finance and Operations project (if needed). In case the option
"Finance and Operations" is not available, then Microsoft should
be contacted. Also choose the purpose of this project.
- Go the hamburger icon and click Cloud-hosted environments(The user performing this should have appropriate permissions on Azure)
- Click yes on the "configure Azure connector" dialog (this dialog appears for newly created projects, if you did this before then you can jump to step 10)
- Before you continue with the azure connector, you need to make sure that the "Dynamics deployment services" role is added
Here's how you can add it:
- Sign
in to https://portal.azure.com
- Go
to subscriptions and choose your visual studio subscription
- Click
on Access Control (IAM), click Role assignments and click add role
assignment
- Choose
"Contributor" role under "Privileged administrator
roles", then click next
- Select
the "Dynamics Development Services" member, then click next
- Click
Review and assign
- Sign
in to https://portal.azure.com
- Go
back to LCS after you clicked "yes" on the configure azure connector
in step 4, and click add on Azure connectors, then fill the details and click
next
- To
get your azure subscription id, sign in to https://portal.azure.com, go
to subscriptions and choose your visual studio subscription. Then click on
overview and copy your subscription id
- To get your Azure subscription
tenant, then go to Microsoft Intra Id and grab the primary domain
- To
get your azure subscription id, sign in to https://portal.azure.com, go
to subscriptions and choose your visual studio subscription. Then click on
overview and copy your subscription id
- Now
after you clicked next in step 6, also click Next here
- Click
next, but make sure you added your user with any role (just similar to the way
you added "Dynamics Development Services" but add your user this
time)
- Choose
region and click connect
- Go
back to cloud-hosted environments in your project and click Add
- Choose
the environment type
- Choose
topology to deploy
- Fill
your environment details:
- Fill your environment name
- Choose your VM size, here I
choose D13, you can change that by clicking on the drop down in the size
column. You can also look at the azure price list and choose the VM that
suits you and suits your budget.
- You can click on Advanced
settings for multiple things like: enabling power platform integration,
adding demo data..etc
- When you finish, click next to
deploy your environment
- Fill your environment name
- Click Deploy
- You
might get an error when you click deploy related to the VM you chose, in
this case you will need to contact azure support or choose a VM size that is supported in your region.
Azure Products by Region | Microsoft Azure
- You
might get an error when you click deploy related to the VM you chose, in
this case you will need to contact azure support or choose a VM size that is supported in your region.
- After you click deploy, a record will get created with status Queued, and if you click full details, you'll be able to see that it's being deployed
Once it finishes deploying, you will be ready to use it :)
Comments
Post a Comment