How to overcome the limitation ‘Deployment on Build VM is restricted’. #661
Replies: 3 comments 10 replies
-
I don't think you can, because build environments are used to create deployable packages. To enable this, they need to control their state, i.e. they need to make sure that only functionality by Microsoft exists when they start the build. This way, they can differentiate between Microsoft functionality and your customizations. If you really wanted to, you could download the deployable package from LCS using Get-D365LcsAssetFile and Invoke-D365AzCopyTransfer. Then install it with Invoke-D365SDPInstall. Maybe take a step back and tell us first why you want to do this? |
Beta Was this translation helpful? Give feedback.
-
You can roll your own solution using agents from inside Azure DevOps. They are installed locally on a specific VM, and then you can run PowerShell code. So if you can get things to work in powershell, directly on the VM, via a RDP connection - then the agents is the way to go. But I'm going to say the same as Microsoft and @FH-Inway - Are you looking at the right problem? Are you using the right tools OR processes (human, tools, business) to solve whatever you are facing? |
Beta Was this translation helpful? Give feedback.
-
@udaymuppana Take a look at https://www.yammer.com/dynamicsaxfeedbackprograms/threads/1842733917790208, the comments made today on that topic might be of interest to you. |
Beta Was this translation helpful? Give feedback.
-
Hi Team,
I might be referring to a known restriction from LCS API.
When I try to install the deployable package on Build VM (LCS Environment Sub-Type = Build) using
Invoke-D365LcsDeployment
command, I am receiving the following error message“ Deployment on Build VM is restricted ”
But I am not expecting the error message when the asset id belongs to Microsoft (GA or PEAP).
Any thoughts/techniques, on how to overcome this restriction.
Thanks in advance!!
Beta Was this translation helpful? Give feedback.
All reactions