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 add license to solutions in D365 CRM or Power Apps

(0) ShareShare
ReportReport
Posted on by 5

Hi, 

I need to add license to solutions in my App (Sales app) or it can be any model-driven app. The scenario is that I have to restrict the functionality added in the solution, after a specified time. 

I'm using CRM Online.

Kindly suggest me any solutions.

Thanks

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,081 Moderator on at
    RE: How to add license to solutions in D365 CRM or Power Apps

    Hi Sheryar Saghir

    In additon to @Daniel Perez Aguiar 

    Your solution must be distributed as managed.

    Handle managed properties of each component to prevent others to customize. 

    Grap the installation date of your solution. Add validation with all the features in your app/solution. 

    something like installation Date <= the date or parameter which you are getting from the web service

    if the condition is true run the feature 

    else throw the error: Buy a license or something.

  • Suggested answer
    PerezAguiar Profile Picture
    PerezAguiar on at
    RE: How to add license to solutions in D365 CRM or Power Apps

    Hey Sheryar.

    On powerapps.microsoft.com/.../ you have some nice documentation on controlling licensing.  In your solution you can include at least a piece of software (webservice call, etc) that either checks for the license expiration (or an expiration token) or makes a call to a webservice on the manufacturer to get the status of the licensing.

    Regards

  • Sheryar Saghir Profile Picture
    Sheryar Saghir 5 on at
    RE: How to add license to solutions in D365 CRM or Power Apps

    Hi Daniel.

    Yes, I do need to restrict but on Solution level. Let's say, I have added a web resource in a new solution, and this solution only contains this web resource. So what I need to do is, provide a trial or complete access (but for a time period). After this period, the user need to pay for another year(just an example) to be able use the functionality, in that web resource.

    I hope you get my point.

    Thanks

  • PerezAguiar Profile Picture
    PerezAguiar on at
    RE: How to add license to solutions in D365 CRM or Power Apps

    Hey Sheryar.

    Can you please provide some more details?  I understand you've created an App that runs on Dataverse/PowerPlaform. And you plan to provide some access (let's say a 30 days trial) and after that period of time, require a license.  Is this correct?

    Regards

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans