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

Microsoft Azure Stack Architecture – Image credit © Microsoft

Introduction

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.

  1. Go to +New.
  2. Click Tenant Offers and Plans, then click Plan.
  3. Configure Microsoft Compute, Microsoft Storage and Microsoft Network.
  4. Click Create.

image

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.

imageFigure 2 – Private Plan (Tenant A)

We will repeat the same steps for Tenant Z.

image

Figure 3 – New Plan (Tenant Z)

Click Create.

By default the Offer is also created as Private.

image

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:

  1. Go to +New.
  2. Click Tenant Offers and Plans, then click Offer.
  3. Type the Display Name and then select the Base plans for Tenant A as shown below.
  4. Click Create.

imageFigure 5 – New Offer (Tenant A)

image

Figure 6 – Private Offer (Tenant A)

We will repeat the same steps for Tenant Z.

imageFigure 7 – New Offer (Tenant Z)

imageFigure 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:

  1. Go to +New.
  2. Click on Tenant Plans and Offers category.
  3. Click on Tenant Subscription.
  4. Under User type in the username (This user should be a valid person in the Azure AD tenant).
  5. Click Offer and select their appropriate Offer.
  6. Click Create, this will create their subscription.

image

Figure 9 – Assign Offer (Tenant A)

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

image

Figure 10 – Offer Assigned (Tenant A)

We will repeat the same steps for Tenant Z.

image

Figure 11 – Assign Offer (Tenant Z)

image

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:

  1. to Browse and click on Offers.
  2. Select the desired Tenant offer.
  3. Under Settings, Click on “Add On Plans”.
  4. On Add-On Plans blade, Click +Add to create and add a plan for that customer.

image

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.

  1. 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).
  2. 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.

imageFigure 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.

clip_image002

Figure 15 – Get Subscriptions (No offers available)

Cheers,
-Charbel

About Charbel Nemnom 328 Articles

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.

Be the first to comment

Leave a Reply