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 :
Finance | Project Operations, Human Resources, ...
Unanswered

D365FO: How to start/stop a custom service which has 'AutoDeploy' property set to 'No'.

(1) ShareShare
ReportReport
Posted on by 20

Hi All,

Recently I came across a scenario in which I had to consume a custom service written by another developer. Upon investigating the service group properties I saw that it has 'AutoDeploy' property set to 'No'. I am wondering how to re-deploy or stop this service if I make some modifications in the custom logic of this service and need them to reflect back? 

1106.service-auto.jpg

Thanks,

Musab.

I have the same question (0)
  • Blue Wang Profile Picture
    on at

    Hi Musab,

    According to Microsoft Doc , You must manually deploy and activate any service groups that are not automatically activated.

    https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/services-service-operations-and-service-groups

    I think you can customize a service group, set AutoDeploy to Yes.

    https://community.dynamics.com/365/financeandoperations/b/365foandaxtechnicalworld/posts/custom-web-service-in-few-steps-d365fo

    In addition, which kind of endpoints. SOAP?JSON?

    [View:https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/custom-services:750:50]

  • Musab Hashmi Profile Picture
    20 on at

    Hi Wang,

    Thanks for your reply. Yes we can set AutoDeploy to Yes and this is exactly what I did as a workaround before posting this question. But what I needed to confirm was is this the only way in D365FO to start/stop the service groups? Will we need to always make modification in the code just to start/stop the service or is there any other way (a script maybe) to deploy such service groups?  

    As for your second question, I am using JSON endpoint.

    Thanks,

    Musab.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans