Can we have a private plan and have that plan assign to any(anyone in addition to who the private plan is restricted to) subscriber by calling a patch on the Subscription API?
https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/create-new-saas-offer#technical-configuration-for-azure-resource-manager-test-drive
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@santhoshbomma9 Thanks for the comment. We are looking into this and will get back to you shortly.
@santhoshbomma9 Could you please describe what are you trying to achieve here?
Does an ISV want to change the audience for private plan programmatically?
Patch API call is for changing plan / seats number.
@SadiqhAhmed-MSFT - Just to give you a bit of background, after a customer has bought the subscription, publisher would take some time before they can activate(charging) the customer and I believe for now customer subscription must be activated in 7 days after the customer has subscribed to it. So for that, the work around was to put the customer on a $0 plan and once the provisioning for the customer is ready they would change the plan to $X plan so that the customer is charged appropriately. But the catch here is they dont want to show that $0 plan as available for anyone to select - so one option on that would be making $0 plan as a private plan. I understand private is associated with a particular tenancy for the visibility of that plan restricting to that same but all I am asking is can I assign(by calling activate subscription endpoint) $0 private plan which is restricted to a tenant to any subscriber on any tenancy? I hope I am making sense.
@qianw211 Any insights?
any update on this please? It has been 3 months
@BrianLevenson can you please chime in?
Hi @santhoshbomma9 - the private plan audience is set in Partner Center using the UX or via CSV file upload. I don't believe you can change the private plan's audience via API. However, you can change the customer's subscription from one plan to another using the API. This would allow you to switch them from the $0 option to a paid plan. Does this help address the scenario?
Hi @BrianLevenson , sorry the question was more like change plan subscription endpoint( https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/pc-saas-fulfillment-api-v2#patch-httpsmarketplaceapimicrosoftcomapisaassubscriptionssubscriptionidapi-versionapiversion) takes planid, could you just use private planid and put any customer on this plan using the API? or would it make sure the privateplan tenantid and subscription tenantid match before change the plan on a subscription?
@santhoshbomma9 - this is a great question, and i am still looking into the answer. my expectation is that the plan change will fail, and i will confirm or correct this expectation asap.
I've confirmed that our assumption is accurate: If customer's tenant is not set as part of plans private audience in the catalog such change plan will fail.
Awesome, thanks @BrianLevenson !
Most helpful comment
I've confirmed that our assumption is accurate: If customer's tenant is not set as part of plans private audience in the catalog such change plan will fail.