Forum Discussion
CBullen
May 13, 2024Brass Contributor
Saas Subscription Landing page, Webhooks and License Assignments ?
I'm building and testing an Add-in for Excel that I'm trying to monetise by adding some 'pro' features that are unlocked through a Marketplace Saas subscription, following:
and
and
I'm confused about a few things, and need a little help, please:
1. Is it still true that transactable SaaS offers can only be done through Microsoft with a Work or School account?
2. If so, do all (non-School/Work) Microsoft Accounts have the same tenant id (or how else do I detect them)?
3. In the SaaS fulfillment lifecycle, when the purchaser gets to my landing page, I can resolve the token to get a subscription detail with the "Quantity", "Purchaser", "Beneficiary" etc. If this is a company Admin buying multiple licenses for their staff, I don't get any information about who will actually get the license (Purchaser and Beneficiary seem to both be the same, and would be the Admin). It seems that once the subscription has been activated, there's a further lifecycle process for the Admin to assign and unassign the license(s) to their users (in the MS Admin Center), which isn't shown in that page? So instead of my landing page saying "Your subscription is now active, please start using it", I should be saying "Your subscription is now active, please go back to the Admin Center and assign the license(s) to your users"?
4. When an admin assigns/unassigns licenses for my app to users, I was expecting to get a webhook notification of that, so I do any per-user config work I need to do. But there doesn't seem to be such a webhook notification, or did I miss something?
5. It seems that the only way for me to know if someone is licensed to use my add-in's Pro features is to use the (Beta?) Graph UsageRights API at startup every time - which surely defeats one of the points of having my own users database?
6. Reading further about the use of the Graph API with Office Js, it appears that if a Work/School user gets the subscription directly (not through an Admin), they're unable to consent to the full Graph API access, so I would be unable to check their usage rights and would have to assume they're not licensed - leaving me with a user who's paid for a subscription they can't use?
- David Starr
Microsoft
CBullen
You have a lot of questions here and most of them related to AppSource behavior. I am not expert in AppSource, but I suggest the following.Join the ISV Success program. THis program will give you the ability to request a 1:1 persoanl consult to answer questions like these.
- CBullenBrass ContributorThanks @David Starr, I'll join that program. I think the crux of the issue is:
"How do I find out, or get notified, when a license is assigned to a user for a transactable SaaS offer?" All the subscription webhooks and landing page tell me who bought the subscription and for how many seats - but not who actually gets the license.- David Starr
Microsoft
License assignement is not handled by marketplace. Marketplace manages the plans, but it is up to your external license management serivce to track seats.
Since you are using per seat licensing on AppSource, you have 2 options for license management. 1 - Bring your own license management system and instegrate with marketplace. 2 - Use MS's licensing service for AppSOurce SaaS Apps.
Here is more on MS's license management solution.
https://learn.microsoft.com/en-us/partner-center/marketplace/isv-app-license-saas