web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • Rudav Nikolai Profile Picture
    105 on at

    Are you saying that you tried PowerShell pkg but didn't succeed?

  • Rudav Nikolai Profile Picture
    105 on at

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

  • testUser123 Profile Picture
    35 on at

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

  • testUser123 Profile Picture
    35 on at

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

  • cloflyMao Profile Picture
    25,210 on at

    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
    35 on at

    I see a lot of errors, for example:

    Screenshot-2020_2D00_11_2D00_30-at-11.51.49.png

  • testUser123 Profile Picture
    35 on at

    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

  • cloflyMao Profile Picture
    25,210 on at

    Hi Partner,

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

    Regards,

    Clofly

  • testUser123 Profile Picture
    35 on at

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

  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans