Hello! i'm familiar with Angular and want to customise eventManagment app that hosts on my customer dynamics365. But have an issues and misunderstanding about process of deployment.
I have read this doc https://docs.microsoft.com/en-us/dynamics365/marketing/developer/portal-hosted#automatic-deployment and tried to setup Powershell on my Mac os. But it doesnt work. Seems it will work only on Windows, but i have no opportunity to setup Windows or take Windows PC.
I have searched for an information about a manual deployment, but it's unclear.
https://docs.microsoft.com/en-us/dynamics365/marketing/developer/manually-overwriting-sample-website
I have no ability to use "Configuration tool".
Also, I dont want to manually upload each file in "Web files". Is it possible to upload an archive of Angular build or found a comfortable way to update at least the main files of Angular build.
I hope my issue is clear and will be grateful for help.
Thanks
Hi, i have followed your advice about Virtual Box with Windows and it works. But I have opened another thread for another issue with Powershell Interactive Login community.dynamics.com/.../where-to-find-all-login-data-to-deploy-dynamics365-eventmanagment-with-powershell-interactive-login
Hi Partner,
You are right, it seems that PowerShell support for Mac starts from 6.0, and the user who opened the issue didn't mention that the script was running successfully in Mac and he just said that the script was working on 5.1.
In addition, according to following documentation:
System.Management.Automation.PSSnapIn is only available in PowerShell 5.1 packages.
In conclusion, I am afraid that you still have to run the script in a Windows VM which has 5.1 version of PowerShell.
Regards,
Clofly
Yeah, i saw this issue on github, but as I figured out there are only PowerShell versions starting from 6.0. Isnt it?
Hi Partner,
Have you tried lower version(5.1) of PowerShell? (See the GitHub issue I posted.)
Regards,
Clofly
I have tried to run "Install-Module Microsoft.Xrm.Data.PowerShell -Scope CurrentUser", but I'm facing this:
I see a lot of errors, for example:
Hi Partner,
Firstly, I would suggest running a simple script to make sure PowerShell has been configured well on your Mac.
Secondly, please check what the errors are given when executing DeployToDynamics365Instance.ps1. From my using experience, even though in Windows, I still took some extra steps to get the deployment script to finally work.
See the last answer of following thread:
In addition, you could also refer to tutorial from Aileen Gusni and try InteractiveMode in the ps1 file.
Version of PowerShell may also has impact on the script.
https://github.com/MicrosoftDocs/dynamics-365-customer-engagement/issues/1697
Regards,
Clofly
Is it possible to do this without Virtual Box's installation?
Yes, i tried DeployToDynamics365Instance.ps1, but it doesnt work
To make things easier, I suggest you install OS X VirtualBox and run the script in Windows VM.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156