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
    12,085 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
    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
    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
    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans