Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

How to deploy customised EventManagement site?

(0) ShareShare
ReportReport
Posted on by 5

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

  • testUser123 Profile Picture
    testUser123 35 on at
    RE: How to deploy customised EventManagement site?

    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

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: How to deploy customised EventManagement site?

    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:

    https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.pssnapin?view=powershellsdk-1.1.0

    System.Management.Automation.PSSnapIn is only available in PowerShell 5.1 packages.

    pastedimage1606895203854v1.png

    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

  • testUser123 Profile Picture
    testUser123 35 on at
    RE: How to deploy customised EventManagement site?

    Yeah, i saw this issue on github, but as I figured out there are only PowerShell versions starting from 6.0. Isnt it?

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: How to deploy customised EventManagement site?

    Hi Partner,

    Have you tried lower version(5.1) of PowerShell? (See the GitHub issue I posted.)

    Regards,

    Clofly

  • testUser123 Profile Picture
    testUser123 35 on at
    RE: How to deploy customised EventManagement site?

    I have tried to run "Install-Module Microsoft.Xrm.Data.PowerShell -Scope CurrentUser", but I'm facing this:
    Screenshot-2020_2D00_11_2D00_30-at-11.56.08.png

  • testUser123 Profile Picture
    testUser123 35 on at
    RE: How to deploy customised EventManagement site?

    I see a lot of errors, for example:

    Screenshot-2020_2D00_11_2D00_30-at-11.51.49.png

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: How to deploy customised EventManagement site?

    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:

    https://community.dynamics.com/365/marketing/f/dynamics-365-for-marketing-forum/396613/how-can-i-insert-the-copywriting-privacy-statement-in-the-event-registration

    In addition, you could also refer to tutorial from Aileen Gusni and try InteractiveMode in the ps1 file.

    https://community.dynamics.com/crm/b/misscrm360exploration/posts/tutorial-customize-and-deploy-dynamics-365-marketing-event-management-or-other-portal

    Version of PowerShell may also has impact on the script.

    https://github.com/MicrosoftDocs/dynamics-365-customer-engagement/issues/1697

    Regards,

    Clofly

  • testUser123 Profile Picture
    testUser123 35 on at
    RE: How to deploy customised EventManagement site?

    Is it possible to do this without Virtual Box's installation?

  • testUser123 Profile Picture
    testUser123 35 on at
    RE: How to deploy customised EventManagement site?

    Yes, i tried DeployToDynamics365Instance.ps1, but it doesnt work

  • Rudav Nikolai Profile Picture
    Rudav Nikolai 105 on at
    RE: How to deploy customised EventManagement site?

    To make things easier, I suggest you install OS X VirtualBox and run the script in Windows VM.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans