Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Authenticate trial user - Appsource CRM Extension

(0) ShareShare
ReportReport
Posted on by 10

Dear fellow members,

let's say I create a Dynamics Extension and publish it to AppSource. "John Doe" likes my Extension - he logs into his Dynamics and installs my Extension from AppSource.

  1. What would be the best way to present him a "Start trial" option?
  2. How do I authenticate that it is John applying for trial?
  3. I want to ensure that John gets just one trial period. I guess he should somehow authenticate via Azure Active Directory or ADFS?

I am imagining it like this. John installs my Extension. He logs into Dynamics, then he would go to Extension settings page and some popup window would ask him to start a trial.

John clicks on "Start trial", his username johndoe@contoso.com from "userSettings" entity would be sent to external API. This API would check if he has had a trial before and send back valid "license key".

John would use this "license key" in my Extension.

But John is clever - after trial period is over he opens a Postman. He makes an API call with different username john2@awesomecompany.com and he gets another "license key".

I would like to authenticate John inside Dynamics via Active Directory somehow. This would ensure that this is really John Doe asking for a trial.

I haven't found anything on this topic and I would be grateful for any kind of insight.

Best 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,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans