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

Announcements

No record found.

News and Announcements icon
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 845
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,801 Super User 2026 Season 1 on at
    Hi Shooowtek
     
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at
    Hi, Please check the highlighted text. 
     
     
  • Suggested answer
    Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 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
    303,730 Super User 2026 Season 1 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
    845 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
    845 on at
    Could someone please help me?
  • André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 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
    845 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
    303,730 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 663

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 439 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 337 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans