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,...
Suggested Answer

How to change dynamics CRM server role with a script ?

(0) ShareShare
ReportReport
Posted on by 19

Hi,

We are running on premise installation with several frontend and backend servers. During working hours we get lots of load from our portal to our frontend servers and during the night we run several heavy workflows in async backend servers. So I would like to have some of the frontend servers to backend servers between 22:00 and 07:00

Now I know we can change frontend server to be a backend server by disabling/enabling server roles - but cai it be done with a PowerShell script ?

Cheers,

Pekka

I have the same question (0)
  • Suggested answer
    Pedro Cadavez de Freitas Profile Picture
    on at

    Hello Pekka,

    Hope you are well.

    It's not a trivial request. I'm not sure if dynamics powershell library has that function, but doesn't see so at a quick glance:

    https://docs.microsoft.com/en-us/powershell/module/microsoft.crm.powershell/?view=dynamics365ce-ps

    I'm not going to discuss here if you really need that "conversion" but what about:

    - Creating additional backend servers

    - Installing also the backend roles on those frontend server, and then play with shutting down the services when not needed, instead of removing/adding roles.

  • Suggested answer
    Hakkinen Profile Picture
    19 on at

    Hi Pedro, thank you for your input. It does look like enable/disable servers would be  only option with PowerShell. We run this on VMware, so maybe we need to study this option together with VMware server images...

    1. Disable server

    2. Switch image

    3. Enable server and so on

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