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, ...
Answered

How to enable Power Platform integration?

(1) ShareShare
ReportReport
Posted on by 843
Hello,
I have a requirement to run Planning Optimization on a development LCS environment. 
Unfortunately, in the /Power Platform integration/ section, I do not have the option to install any add-ins. 
Could someone please help me?
 
//
 
I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,390 Super User 2025 Season 2 on at
    Hi Shooowtek
     
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    Hi, Please check the highlighted text. 
     
     
  • Suggested answer
    Layan Jwei Profile Picture
    8,097 Super User 2025 Season 2 on at
    Hi Shooowtek,
     
    You can create a new dev environment and enable it. You can check this link:
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • André Arnaud de Calavon Profile Picture
    300,896 Super User 2025 Season 2 on at
    Hi Shoowtek,
     
    A small addition to the below-mentioned suggestions.
    Note that you would need to have about 3-4 GB of Dataverse capacity available for enabling the Power Platform integration when creating a new development or demo environment. If you don't have that capacity the integration will not work as the environment will then be disabled automatically.
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    You can also refer to the link provided by the old thread:
    Power Platform Integration with Cloud Hosted Environment (dynamics.com)
    Best Regards,
    Hana

     
  • Shooowtek Profile Picture
    843 on at
    Thank you for all your responses. I will try to work on this topic.

    Does anyone know what classes and what principle Planning Optimization works with? I ask because the custom code that was implemented works with the old planning, but when the planning optimization add-on was installed, suddenly everything stopped working.
    Example. The custom code was deployed in extension:
     
    ReqPo.initFromIssue()
    ReqPo.update()
    ReqPo.Insert()
     
    and unfortunately it doesn't work with Planning Optimization and I am not able to do debugging now..

    Thank you
  • Shooowtek Profile Picture
    843 on at
    Could someone please help me?
  • André Arnaud de Calavon Profile Picture
    300,896 Super User 2025 Season 2 on at
    Hi Shooowtek,
     
    Next time, please create a new question as you are now changing the topic of your original question.
     
    The planning service is running outside of Dynamics 365, not using any X++ coding. You can't customize the service part. There is a pre- and post-handler that you can hook into for custom X++ coding.
  • Shooowtek Profile Picture
    843 on at
    Hello Andre,
    I have implemented the solution you suggested unfortunately without result....
     
    Example:
    [PostHandlerFor(tableStr(ReqPO), tableMethodStr(ReqPO, initFromIssue))]
    public static void ReqPO_Post_initFromIssue(XppPrePostArgs args)
    {
    ReqPO reqPO = args.getThis() as ReqPO;
    ReqTrans issueReqTrans = args.getArg('_issueReqTrans');

    /..../
    }

     
  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,896 Super User 2025 Season 2 on at
    Hi Shooowtek,
     
    Apologies. I intended to mention that you can only run a task pre-service run and post-service run. Table events are ignored as the data will be inserted in bulk by the Master Planning Service.
    I can't find the notes I took during a discussion on this topic. Maybe you can set some breakpoints on several methods from classes belonging to the model "MasterPlanningService". E.g. the class MpsPlanningServiceClient contains some public post events.

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 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans