0

There is sufficient documentation on how the Marketplace API can resolve, activate, list,etc subscriptions (here for instance).

However, now that I'm forming an understanding of how that works, I would like to know the best approach for SharePoint to check wether a user has a license. (in my case checking the tenant id would be sufficient)

I thought I would be able make an api call to the marketplace with a little data packet containing the tenant Id and the user data and it would be able to tell me if there is an active subscription or not. But it doesn't seem to be there... Am I just missing it?

And if this is not these, what is the approach to get subscription data? I could imagine setting up table storage with an azure function to retrieve tenant/user subscription data but it seems that would just be a shadow copy of the marketplace administration.

2
  • I would like to know the best approach for SharePoint to check wether a user has a license. (in my case checking the tenant id would be sufficient) - what exactly are you trying to do here? License for what? Jun 26 at 13:53
  • Microsoft has a commercial market place API which I have come to understand is the only way to sell/monetize (SharePoint) add-ins through Microsoft channels. You create a SaaS offer which is activated by the buyer, and your web part retrieves that information (checks wether or not the logged in user has subscribed to the Saas service). I am looking for the best way to do that check learn.microsoft.com/en-us/partner-center/marketplace/…
    – JJD
    Jun 27 at 6:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.