Visit the crayon.com enterprise site
Crayon Channel APAC
  • CommunityConnecting partners to even greater value.
    • Partner Value
    • Tech For Good Program
    • ISV Innovation Hub
    • Partner Connections Program
    • Partner Advisory Committee
    • Community Events
  • ServicesLeverage Crayon’s expertise to expand your service catalogue and create new revenue streams.
    • Security Services
    • Cloud Migration
    • ERP Implementation
    • Managed Services
    • Support as a Service
    • Cloud Cost Optimisation
  • Enablement
  • VendorsWith a vendor-agnostic approach, we are committed to ensuring our partners have access to the latest industry-leading solutions that solve real business challenges.
    • Access4
    • Acronis
    • Airlock Digital
    • Automox
    • AvePoint
    • Backup365
    • ConnectWise
    • ContraForce
    • CoreView
    • Cytrack
    • Delinea
    • DNSFilter
    • Docusign
    • ESET
    • Hornetsecurity
    • invicti
    • Layer 8 Security
    • Microsoft
    • Nerdio
    • Netwrix
    • NinjaOne
    • Octopus Cloud
    • Probax
    • Runecast
    • Senserva
    • SigniFlow
    • SmartEncrypt
    • SMX
    • Swoosh.Cloud
    • Trend Micro
    • usecure
    • Veeam
    • VIPRE
    • Virtuozzo
    • VMware by Broadcom
    • Wasabi
    • Zimbra
    • ZIRILIO
    • Zoom
  • Platforms
  • About CrayonCrayon helps its partners, and their customers, build the commercial and technical foundation for a successful and secure cloud-first, digital transformation journey.
    • Careers
    • Contact us
    • APAC Leadership
    • Visit Crayon Japan
  • Become a Partner
  • Partner Login

Search

Become a Partner Partner Login
  • CommunityConnecting partners to even greater value.
    • Partner Value
    • Tech For Good Program
    • ISV Innovation Hub
    • Partner Connections Program
    • Partner Advisory Committee
    • Community Events
  • ServicesLeverage Crayon’s expertise to expand your service catalogue and create new revenue streams.
    • Security Services
    • Cloud Migration
    • ERP Implementation
    • Managed Services
    • Support as a Service
    • Cloud Cost Optimisation
  • Enablement
  • VendorsWith a vendor-agnostic approach, we are committed to ensuring our partners have access to the latest industry-leading solutions that solve real business challenges.
    • Access4
    • Acronis
    • Airlock Digital
    • Automox
    • AvePoint
    • Backup365
    • ConnectWise
    • ContraForce
    • CoreView
    • Cytrack
    • Delinea
    • DNSFilter
    • Docusign
    • ESET
    • Hornetsecurity
    • invicti
    • Layer 8 Security
    • Microsoft
    • Nerdio
    • Netwrix
    • NinjaOne
    • Octopus Cloud
    • Probax
    • Runecast
    • Senserva
    • SigniFlow
    • SmartEncrypt
    • SMX
    • Swoosh.Cloud
    • Trend Micro
    • usecure
    • Veeam
    • VIPRE
    • Virtuozzo
    • VMware by Broadcom
    • Wasabi
    • Zimbra
    • ZIRILIO
    • Zoom
  • Platforms
  • About CrayonCrayon helps its partners, and their customers, build the commercial and technical foundation for a successful and secure cloud-first, digital transformation journey.
    • Careers
    • Contact us
    • APAC Leadership
    • Visit Crayon Japan
  • Become a Partner
  • Partner Login
Crayon Channel APAC

Search

Home / Enablement Hub / Training / How to register MPN details against managed cloud environments

How to register Microsoft Partner Network details against managed cloud environments

By James Brookbanks - CTO of Parallo, a Crayon company

Registering your Microsoft Partner Network (MPN) details correctly against your customer’s cloud environments is important for every Microsoft partners. This registration is necessary to ensure that you achieve all of the entitlements and benefits that Microsoft offers. In the case of Azure, this is covered by the Partner Admin Link (PAL) setting in each customer subscription.

PAL also assists Cloud Solution Providers (CSPs) by allowing the partner to earn the Partner Earned Credit (PEC) when their customers are on the new Microsoft Customer Agreement (MCA) and Azure Plan.

 

What is PAL? 

In the beginning, Microsoft created Digital Partner of Record (DPOR), and it was good… well, kind of.

DPOR was the original way to link your MPN ID to a customer’s Azure environment, which gave you as the partner recognition for the revenue that Microsoft were receiving from the customer. The problem was that only one partner could be DPOR at any point in time. This left the big players (Large Account Resellers (LARs), typically) as the registered DPOR entity.

Now with PAL, any partner that provides services to a customer can link their MPN ID to the customer’s subscription(s) and receive benefits from Microsoft for doing so.

 

How is PAL configured? 

PAL can be associated to a customer’s subscription by any user or service principal account that has eligible access to the subscription.  

The user account could be a guest account, direct account, or an account delegated access via Azure Lighthouse.  

The service principal needs to either be registered via Azure Active Directory, or via Azure Lighthouse.

 

Easy PAL configuration via Azure Lighthouse 

When using Azure Lighthouse for delegated resource management, partners can do a one-time partner ID association that will subsequently connect the ID to every customer onboarded from then on. This is ideally done with a service principal, as a user account link will be removed if the user account is ever decommissioned. 

Microsoft have provided instructions for this process here.

 

Automating PAL  

Specific PowerShell cmdlets have been created for PAL, which means that the PAL association can be automated for ease of onboarding large amounts of customers. It also means a regular automation runbook can be scheduled to ensure that all new customers are captured for PAL. This can make a good backup to other avenues of association, such as the Lighthouse link above.

 

Automating PAL via service principal 

This code block shows how to iterate through multiple tenants and subscriptions that the service principal has access to and set PAL for each of them. You will need to input a list of tenant IDs to iterate through as the first variable. This could be parameterized as well. 


# Variables 
$CustomerTenantIds = @("<tenant1>","<tenant2>","<tenant3>") 
$MpnPartnerId = "<MPN ID>" 
# Note, it's recommended to keep the following secrets in a secure store such as Key Vault rather than hard-code them into the script 

$SpClientId = "<AAD App ID for Service Principal" 
$SpSecret = "<Secret for Service Principal" 

 

# Convert to SecureString 
[securestring]$secSpSecret = ConvertTo-SecureString $SpSecret -AsPlainText -Force 

# Create credential object 
[pscredential]$Creds = New-Object System.Management.Automation.PSCredential ($SpClientId, $SpSecret) 

# Iterate through all tenants 
foreach ($Tenant in $CustomerTenantIds) { 
    # Login to Azure - Azure Automation 
    try { 
        "Logging in to Azure..." 
        Add-AzAccount ` 
            -ServicePrincipal ` 
            -TenantId $Tenant ` 
            -Credential $Creds 
        "Login complete." 
    } 
    catch { 
        $ErrorMessage = "Error logging into Azure" 
        Write-Output $ErrorMessage 
        throw $_.Exception 
    }  

    #Get all subscriptions 
    $AllSubscriptions = Get-AzSubscription | Select-Object Name, Id 
    Write-Output "Checking $($AllSubscriptions.Length) subscriptions" 

    #Loop through all subscriptions 
    foreach ($Subscription in $AllSubscriptions) { 
        #Switch to the subscription 
        Set-AzContext -SubscriptionId $Subscription.Id | Out-Null 
        $PartnerStatus = Get-AzManagementPartner 
        if ($PartnerStatus.PartnerId = $MpnPartnerId) { 
            Write-Output "Subscription $($Subscription.Name) is already configured with MPN ID" 
            continue 
        } else { 
            Write-Output "Setting MPN ID on subscription $($Subscription.Name)" 
            New-AzManagementPartner -PartnerId $MpnPartnerId 
        } 
    } 
}


Automating PAL via an interactive user 

This code block will iterate through each tenant and subscription that you as a user have access to. Unfortunately, you will need to follow the interactive login process for each customer that has MFA enabled, so you’ll need to watch the script and follow those prompts as necessary. Not recommended for large numbers of customers for which the service principal avenue is more suited. 

You don’t need the tenant list for this script as the Get-AzTenant cmdlet will return all Azure tenancies that your account has access to.

 


$MpnPartnerId = "<MPN ID>" 

#Login to Azure - Azure Automation 
try { 
    "Logging in to Azure..." 
    Add-AzAccount 
    "Login complete." 
} 
catch { 
    $ErrorMessage = "Error logging into Azure" 
    Write-Output $ErrorMessage 
    throw $_.Exception 
} 

$AllTenants = Get-AzTenant 
foreach ($Tenant in $AllTenants) { 
    Add-AzAccount -Tenant $Tenant.Id  
    #Get all subscriptions 
    $AllSubscriptions = Get-AzSubscription -TenantId $Tenant.Id | Select-Object Name, Id 
    Write-Output "Checking $($AllSubscriptions.Length) subscriptions" 

    #Loop through all subscriptions 
    foreach ($Subscription in $AllSubscriptions) { 
        #Switch to the subscription 
        Set-AzContext -SubscriptionId $Subscription.Id -Tenant $Tenant.Id | Out-Null 
        $PartnerStatus = Get-AzManagementPartner -ErrorAction Ignore 
        if (!$PartnerStatus) { 
            Write-Host "No admin link present." 
            Write-Output "Setting MPN ID on subscription $($Subscription.Name)" 
            New-AzManagementPartner -PartnerId $MpnPartnerId 
        } elseif ($PartnerStatus.PartnerId = $MpnPartnerId) { 
            Write-Output "Subscription $($Subscription.Name) is already configured with MPN ID" 
        } 
    } 
} 


This example is one of many automated processes Crayon has available to automate the security, performance, availability and cost of Azure. Through the Parallo, Crayon can now bring these to our partners. If this is of interest, please contact your Crayon Account Manager for more information.

 


Disclaimer: While all care has been taken to test the accuracy of these scripts – test them before use and use them at your own risk, Crayon accepts no responsibility for the use, misuse, or accuracy of the scripts provided.

Related tags:
MSPs and CSPs Azure Partner BusinessCloud HorizonsMicrosoft
SHARE

Related

Data Protection for Business Leadership

Sales and Marketing

Data Protection for Business Leadership

Business leaders don't live in the tools. They live in the outcomes. The metrics they care about most are not always limited to compliance and risk. So how do you connect data protection to the big-ticket objectives, when they're less obvious? Our in-house pre-sales expert, Michael Brooke explains.

Learn More
Data Protection Playbook #3
Featured

Guides and eBooks

Data Protection Playbook #3

As SMBs mature in the Data Protection lifecycle, they need help to optimise spend, reduce the compliance burden and ensure results align to business objectives. The third installment of our Data Protection Playbook series provides practical guidance for partners on how to address emerging pressure and connect ongoing investment to measurable business value.

Get Started
Copilot Agents: Level up from chatbots
Featured

Training

Copilot Agents: Level up from chatbots

Copilot Agents: what are they and how do they differ from AI assistants and chatbots? Our in-house Copilot expert Ksenia Turner explains the use cases and service opportunities for partners.

Learn more
Proving Data Protection Compliance
Featured

Blogs

Proving Data Protection Compliance

Fragmented data protection systems and processes create compliance proof-gaps for SMB customers. Scott Hagenus, Director, Cybersecurity here at Crayon explains.

Learn More
Data Protection Sales
Featured

Sales and Marketing

Data Protection Sales

Ever wonder why a pitch has some IT Managers leaning forward, while others glaze over? Michael Brooke, Cybersecurity Pre-Sales Lead offers some insight on how to tune your approach to chime with different technical mindsets.

Read Now
Data Protection Playbook #2
Featured

Guides and eBooks

Data Protection Playbook #2

How can partners help their SMB customers to move from silos of security and continuity to a more cohesive, measurable and insurable data protection framework? The second edition in our Data Protection Playbook series maps out their journey, and yours.

Get Started
Copilot for Business
Featured

Vendor Announcements

Copilot for Business

Copilot for Business has landed at Microsoft Ignite 2025, levelling the GenAI playing field for SMB customers. Learn all about it from our man on the ground, Andreas Bergman.

Read More
Crayon recognized as the winner of the 2025 Microsoft Asia Partner of the Year Award
Featured

Press Release

Crayon recognized as the winner of the 2025 Microsoft Asia Partner of the Year Award

Read more
Crayon recognized as the winner of the 2025 Microsoft Malaysia Partner of the Year Award
Featured

Press Release

Crayon recognized as the winner of the 2025 Microsoft Malaysia Partner of the Year Award

Read more
Data Protection Partner Playbooks for SMB Customers

Blogs

Data Protection Partner Playbooks for SMB Customers

As cybersecurity and continuity converge in platforms and in practice, partners need new playbooks to address modern Data Protection standards. Our in-house cybersecurity pre-sales lead, Michael Brooke explains why.

Learn More
Data Protection Playbook #1
Featured

Guides and eBooks

Data Protection Playbook #1

What triggers an SMB customer to begin exploring their need for better Data Protection? The first of our four Data Protection Playbooks for partners breaks down how to position and win in the Pre-Adoption and Exploration stage.

Get Started
Data Protection Resource Round-Up
Featured

Insights

Data Protection Resource Round-Up

Data Protection priorities are shifting for SMBs. Ramp up your ability to respond with curated insights, articles and resources to help you guide every customer conversation with confidence.

Get Started
The strong, supportive partnership driving Acceltech’s growth
Featured

Partner Spotlight

The strong, supportive partnership driving Acceltech’s growth

In this Partner Spotlight, Acceltech Managing Director Ivy Tarrobago shares how Crayon’s responsive support enhances client outcomes and business growth.

Read the Story
Strengthening Data Protection for SMBs
Featured

Whitepapers

Strengthening Data Protection for SMBs

Data Protection is a must for all SMBs but how can partners align solution investment with critical business objectives? Our latest paper shows you how.

Get Started
Crayon wins at CRN Channel Awards Asia 2025

Press Release

Crayon wins at CRN Channel Awards Asia 2025

Crayon has been recognised with a huge double win at the CRN Channel Asia awards ceremony.

Read more
M365 Copilot Hub
Featured

Insights

M365 Copilot Hub

All the latest insights, articles and resources on M365 Copilot, curated into one place.

Read More
Secure Backup and Recovery
Featured

Insights

Secure Backup and Recovery

SMB customers are storing greater volumes of sensitive data in more places than ever. Secure backup and recovery practices are essential to how they protect it.

Learn More
Crayon Expertise: Why Bigfish is hooked
Featured

Partner Spotlight

Crayon Expertise: Why Bigfish is hooked

Bigfish Technology saved AU$20,000 on its annual Microsoft licensing after one call with Crayon and has since built a strong partnership that enabled Bigfish to get access to Crayon’s expertise and vendor ecosystem.

Read the Story
Insider Risk: SMB data and the threat within

Insights

Insider Risk: SMB data and the threat within

Insider risk is a subtle and continuous challenge for SMB customers. Turn it into a manageable and quantifiable aspect of their Data Protection strategy.

Learn More.
Data Protection for SMBs
Featured

Blogs

Data Protection for SMBs

From rethinking backup to governance frameworks and behavioural analytics, what's involved in building a complete Data Protection strategy for SMB customers?

Find Out
Microsoft’s Channel Evolution
Featured

Insights

Microsoft’s Channel Evolution

We explore the evolution of Microsoft's channel strategy over the past ten years, and what can be learned by viewing it through a Value Cycle lens.

Learn More
The Microsoft Fabric Partner Guide

Guides and eBooks

The Microsoft Fabric Partner Guide

The Microsoft Fabric Partner Guide curates our recent articles, videos and resources to accelerate Crayon partner learning.

Read more
Cybersecurity Resource Round-up

Insights

Cybersecurity Resource Round-up

Support your cybersecurity game plans with our top picks of new and updated risk and resilience resources.

Whanau Tahi scales for explosive demand, with Crayon

Case Studies

Whanau Tahi scales for explosive demand, with Crayon

Learn how our Cloud Managed Services team helped this ISV modernise its IT operating environment with Microsoft Azure.

Read more
Navigating Microsoft’s NCE Auto-Migration

Webinars Series

Navigating Microsoft’s NCE Auto-Migration

Watch video
Crayon welcomes Microsoft’s NZ Datacenter Region

Company Announcements

Crayon welcomes Microsoft’s NZ Datacenter Region

Read more
SPLA Compliance: Being Transparent is Better than Being Exposed

Blogs

SPLA Compliance: Being Transparent is Better than Being Exposed

When it comes to SPLA compliance, it’s far better to be transparent than to be exposed. Find out why and how Crayon can help.

Read more
Accelerate Your Cloud Journey using Azure Migrate & Modernise (AMM)

Webinars Series

Accelerate Your Cloud Journey using Azure Migrate & Modernise (AMM)

Watch video
Crayon Awarded Microsoft Malaysia’s 2023 Channel Growth Partner of the Year

Press Release

Crayon Awarded Microsoft Malaysia’s 2023 Channel Growth Partner of the Year

Read more
Update! Moving from Microsoft’s Legacy CSP to the New Commerce Experience

News

Update! Moving from Microsoft’s Legacy CSP to the New Commerce Experience

SMBs Buck the Cut Back Trend on Tech

Blogs

SMBs Buck the Cut Back Trend on Tech

SMBs in Asia Pacific are maintaining or increasing their investments in cloud technologies, despite rocky market conditions. Find out why.

Read more
Future Ready SPLA – Leveraging Data For Better Business Decisions

Blogs

Future Ready SPLA – Leveraging Data For Better Business Decisions

Read more
Cloud Security Assessments are a Growth Opportunity

Blogs

Cloud Security Assessments are a Growth Opportunity

Crayon cloud security assessments help partners lock down M365 and Azure environments and build profitable cybersecurity practices. Learn how.

Read more
Is Cloud Value at a Crossroad for SMBs?

Blogs

Is Cloud Value at a Crossroad for SMBs?

Insights on the direction of SMB cloud adoptions across the region, and the capabilities they most value in their technology service providers.

Read more
New Commerce Experience Explained

Blogs

New Commerce Experience Explained

Read more
Visit the crayon.com enterprise site

Subscribe to Crayon Channel APAC news

Receive the latest updates, industry insights and technology developments from around the world, and across the Asia Pacific region.

Thank you for subscribing!

  • Become a Partner
    • Partner Value Guide
  • Solutions
    • Business Applications
    • Business Continuity
    • Cloud Infrastructure
    • Productivity
    • Security
  • Community
    • Partner Value
    • Tech For Good Program
    • ISV Innovation Hub
    • Partner Connections Program
    • PAC
    • Community Events
  • About
    • Careers
    • Contact Us
    • APAC Leadership
    • Visit Crayon Japan
  • Platforms
    • PRISM
    • Cloud-iQ
  • Services
    • Security Services
    • Cloud Migration
    • ERP Implementation
    • Managed Services
    • Support as a Service
    • Cloud Cost Optimisation
  • Access4
  • Acronis
  • Airlock Digital
  • Automox
  • AvePoint
  • Backup365
  • ConnectWise
  • ContraForce
  • CoreView
  • Cytrack
  • Delinea
  • DNSFilter
  • Docusign
  • ESET
  • Hornetsecurity
  • invicti
  • Layer 8 Security
  • Microsoft
  • Nerdio
  • Netwrix
  • NinjaOne
  • Octopus Cloud
  • Probax
  • Runecast
  • Senserva
  • SigniFlow
  • SmartEncrypt
  • SMX
  • Swoosh.Cloud
  • Trend Micro
  • usecure
  • Veeam
  • VIPRE
  • Virtuozzo
  • VMware by Broadcom
  • Wasabi
  • Zimbra
  • ZIRILIO
  • Zoom
  • View All
Crayon Channel APAC Contact us today
  • Privacy
  • Terms & Conditions
  • Human Rights Transparency Statement

© 2025 Crayon LTD

back to top

Strengthening Data Protection for SMBs

Connect Data Protection to strategic objectives via this Whitepaper

Learn More

Front cover and interior page view of Forrester SMB market study reportch report

Future of Operations 2025

What are the most critical business objectives and solution adoption priorities for SMBs in our region? Download the latest Forrester study to find out!

Download the study

Download Our Partner Value Guide

Our APAC channel business is now part of a global organisation. That means there is a whole new world of value on offer for our partners. We can help you to tap into all of it.

Download Value Guide