Forum Discussion
Premal Gandhi
Feb 03, 2023Former Employee
How does SaaS app know the user is accessing the app in context of existing subscription ?
The scenario is as follows:
As a bank I subscribe to SaaS app offering metered billing.
A user is now redirected to the SaaS App via the bank.
How does SaaS app know the user is accessing it i...
kgola-cflt
Feb 06, 2023Copper Contributor
Premal Gandhi have you checked the SaaS Fulfillment APIs? They give the ISVs the GUID of the SaaS - https://learn.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-fulfillment-life-cycle
kgola-cflt
Feb 06, 2023Copper Contributor
I don't think the user can ever get access to SaaS GUID. It is only for the ISV (I maybe wrong tho)
- Premal GandhiFeb 06, 2023Former EmployeeIf the user cannot provide subscription ID how can ISV provide it the service bought. e.g., without the user showing it has the required license how can it use the ISV features that need the license
- kgola-cfltFeb 07, 2023Copper ContributorThere are 2 subscription IDs at play here -
1. SaaS GUID which is exposed only to the API (to ISVs)
2. Azure Subscription ID - which is exposed to both user + ISV. While subscribing to a SaaS product, the user will have to choose Az Subscription ID + Az resource group under which the SaaS resource will be created.- Premal GandhiFeb 07, 2023Former Employee
kgola-cflt - So focus on #2 in your reply above. What prevents a user from selecting an incorrect subscription Id ?