How To Create a Certain Plans/Offers for Specific Tenants in Azure Stack? #AzureStack #Azure #MAS

The first preview of Microsoft Azure Stack was released on January 29, 2016. On April 5th, 2016, Microsoft also announced the incremental release for Azure Stack Technical Preview 1.

The incremental update requires redeployment, there is no upgrade from the current TP1 build. It also means that, if you were planning to rebuild your environment, this build is the opportunity to do it now. Please note that this update is NOT Technical Preview 2 yet, and is still a single host deployment (no multi-node deployment yet).

With this preview, Microsoft is extending its hybrid cloud strategy in a big way – providing the only hybrid cloud platform that is consistent with a leading public cloud. Born of Azure, Azure Stack helps organizations deliver Azure services from their own datacenter. With Azure Stack, Microsoft is bringing proven innovation – including IaaS and higher level PaaS services – from hyper-scale datacenters to on-premises ‘enterprise-scale’ environments to meet customers’ business requirements.

In today’s blog post, I will share with you how to create a private Plans/Offers and assign it to a specific tenant. This will ensure each Tenant can see his own subscription.

Step 1: Create a Plan

Sign in as a service administrator and create a plan that includes the compute, network, and storage resource providers. This will give subscribers to the plan the ability to provision virtual machines.

We will create two Plans, the first one is called Tenant A and the second one is Tenant Z.

Go to +New.

Click Tenant Offers and Plans, then click Plan.

Configure Microsoft Compute, Microsoft Storage and Microsoft Network.

Click Create.

Figure 1 – New Plan (Tenant A)

As you can see in the following screenshot, the Plan is created by default as Private.

Plans and offers have to be made public for tenants to get the full view when subscribing. If a plan is private and the offer is public, tenants can get to the offer but won’t be able to see the details of the plan. Plans and offers can be:

Public: Visible to tenants.

Private: Only visible to the service administrators. Useful while drafting the plan or offer, or if the service administrator wants to approve every subscription.

Decommissioned: Closed to new subscribers. The service administrator can use decommissioned to prevent future subscriptions, but leave current subscribers untouched.

In our scenario we will keep the Plan as private.

Figure 2 – Private Plan (Tenant A)

We will repeat the same steps for Tenant Z.

Figure 3 – New Plan (Tenant Z)

Click Create.

By default the Offer is also created as Private.

Figure 4 – Private Plan (Tenant Z)

Step 2: Create an Offer

Now we have two Azure Stack Plans created, next we need to create an Offer for each Tenant so they can get a Subscription.
In the following steps we will Create an Offer:

Go to +New.

Click Tenant Offers and Plans, then click Offer.

Type the Display Name and then select the Base plans for Tenant A as shown below.

Click Create.

Figure 5 – New Offer (Tenant A)

Figure 6 – Private Offer (Tenant A)

We will repeat the same steps for Tenant Z.

Figure 7 – New Offer (Tenant Z)

Figure 8 – Private Offer (Tenant Z)

Step 3: Assign a Tenant subscription to an offer

In the following steps, we will give the customer a subscription to an offer:

Go to +New.

Click on Tenant Plans and Offers category.

Click on Tenant Subscription.

Under User type in the username (This user should be a valid person in the Azure AD tenant).

Click Offer and select their appropriate Offer.

Click Create, this will create their subscription.

Figure 9 – Assign Offer (Tenant A)

As you can see in the following screenshot, the Offer has been assigned to Tenant A Subscription.

Figure 10 – Offer Assigned (Tenant A)

We will repeat the same steps for Tenant Z.

Figure 11 – Assign Offer (Tenant Z)

Figure 12 – Offer Assigned (Tenant Z)

Step 4: Add-on plan (Optional)

Now if you want to give a specific Tenant an add-on plan, please follow the steps below:

to Browse and click on Offers.

Select the desired Tenant offer.

Under Settings, Click on “Add On Plans”.

On Add-On Plans blade, Click +Add to create and add a plan for that customer.

Figure 13 – Add-On Plans (Tenant A)

Step 5: Validate The Offer Assignment

In the final step, we will login as Tenant and confirm if the offer has been assigned successfully.

Sign-in into Azure Stack portal as Tenant A and enter your credentials (The account should be a valid person in the Azure AD tenant).

Click on Subscriptions.

As you can see in the following screenshot, the Offer is assigned to Tenant A and In Sync.

Now the Tenant is able to provision Virtual Machines.

Figure 14 – Subscriptions Assigned (Tenant A)

If the Tenant browse to Get Subscription to select an Offer, you can see No offers available, because the Offer was created as Private and assigned only to a specific Tenant.

Charbel Nemnom is a Microsoft Cloud Consultant and Technical Evangelist, totally fan of the latest's IT platform solutions, accomplished hands-on technical professional with over 15 years of broad IT Infrastructure experience serving on and guiding technical teams to optimize performance of mission-critical enterprise systems. Excellent communicator adept at identifying business needs and bridging the gap between functional groups and technology to foster targeted and innovative IT project development. Well respected by peers through demonstrating passion for technology and performance improvement. Extensive practical knowledge of complex systems builds, network design and virtualization.