{"id":247,"date":"2021-06-03T22:18:15","date_gmt":"2021-06-03T20:18:15","guid":{"rendered":"https:\/\/blog.bardalen.no\/?p=247"},"modified":"2021-06-03T22:24:10","modified_gmt":"2021-06-03T20:24:10","slug":"how-to-reinstate-management-of-azure-customers-in-partner-portal","status":"publish","type":"post","link":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/","title":{"rendered":"How to reinstate management of Azure-customers in Partner Portal"},"content":{"rendered":"\n<p>When managing a lot of customers with Azure Subscriptions, one possible solution of centralized management is via the Microsoft Partner Portal. Here you can manage all your CSP-customers from one place. This works really well with Microsoft 365 tenants where you just need to make sure you are registered as partner with admin rights. This, however, is not always so straight forward with Azure Subscriptions. At some point you may take over a customer or some variant of where your organization is not the original creator of the subscription. This is where the fun begins\u2026<\/p>\n\n\n\n<p><strong>The Problem:<\/strong><br>Partner Portal relies on a couple of groups in your Azure AD where one is called \u201cAdminAgents\u201d to delegate admin rights to people you choose. The problem here is\u2026 it creates a role assignment in Azure only once without any real way of maintaining this relation later. Besides of PowerShell of course. After some Googling I found this article from Microsoft: https:\/\/docs.microsoft.com\/en-us\/partner-center\/revoke-reinstate-csp with some hints and tips. Tried it. It failed. Stating that \u201cThe PrincipalId &#8216;FFFFFfffffffFFFFFFFffff&#8217; has type &#8216;ForeignGroup&#8217; , which is different from specified PrinciaplType &#8216;Group&#8217;\u201d. Hmmm! Besides that funny typo at the end this error states there is something wrong either with my group or the format I\u00b4m pasting in \u2013 or something.<\/p>\n\n\n\n<p><strong>The Solution:<\/strong><br>I had this theory that I needed to declare something. So I looked up the cmdlet New-AzRoleAssignment in Microsoft Docs and scrolled down to a parameter called \u201c-ObjectType\u201d. I thought I could try that\u2026 It wouldn\u00b4t hurt so much, would it?!<\/p>\n\n\n\n<p>The cmdlet ran without any issue! And after logging into Partner Portal I could confirm that it actually did the trick. We can now finally get all our customers managed via the same interface.<\/p>\n\n\n\n<p>This is what I actually did:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Opened PowerShell, connected to our tenant with <em>Connect-AzAccount<\/em> and ran cmdlet <em>Get-AzADGroup -DisplayName AdminAgents<\/em><\/li><li>Took note of the \u201cid\u201d<\/li><li>Logget off our tenant and into the customer\u00b4s<\/li><li>Ran the following command (Just imagine some SIDs instead of the placeholders): <em>New-AzRoleAssignment -ObjectID &laquo;&raquo; -RoleDefinitionName &laquo;Owner&raquo; -ObjectType &laquo;ForeignGroup&raquo; -Scope &laquo;\/subscriptions\/&raquo;<\/em><\/li><\/ol>\n\n\n\n<p>And voil\u00e1! There\u00b4s really not more to it. I\u00b4m glad we could figure this out and I hope this is somewhat helpful for you as well! Please let me know if this worked out for you, or if I missed anything \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When managing a lot of customers with Azure Subscriptions, one possible solution of centralized management is via the Microsoft Partner Portal. Here you can manage all your CSP-customers from one place. This works really well with Microsoft 365 tenants where you just need to make sure you are registered as partner with admin rights. This, however, is not always so straight forward with Azure Subscriptions. At some point you may take over a customer or some variant of where your&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/\">Les mer<span class=\"screen-reader-text\"> Les mer<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":249,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-247","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-annet"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to reinstate management of Azure-customers in Partner Portal - Blog.bardalen.no<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/\" \/>\n<meta property=\"og:locale\" content=\"nb_NO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to reinstate management of Azure-customers in Partner Portal - Blog.bardalen.no\" \/>\n<meta property=\"og:description\" content=\"When managing a lot of customers with Azure Subscriptions, one possible solution of centralized management is via the Microsoft Partner Portal. Here you can manage all your CSP-customers from one place. This works really well with Microsoft 365 tenants where you just need to make sure you are registered as partner with admin rights. This, however, is not always so straight forward with Azure Subscriptions. At some point you may take over a customer or some variant of where your...Les mer Les mer\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog.bardalen.no\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-03T20:18:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-03T20:24:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2021\/06\/Azure-Logo-700x394-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"394\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Tony Bardalen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Skrevet av\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tony Bardalen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Ansl. lesetid\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/\"},\"author\":{\"name\":\"Tony Bardalen\",\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a\"},\"headline\":\"How to reinstate management of Azure-customers in Partner Portal\",\"datePublished\":\"2021-06-03T20:18:15+00:00\",\"dateModified\":\"2021-06-03T20:24:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/\"},\"wordCount\":400,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a\"},\"image\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2021\/06\/Azure-Logo-700x394-1.png\",\"articleSection\":[\"Annet\"],\"inLanguage\":\"nb-NO\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/\",\"url\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/\",\"name\":\"How to reinstate management of Azure-customers in Partner Portal - Blog.bardalen.no\",\"isPartOf\":{\"@id\":\"https:\/\/blog.bardalen.no\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2021\/06\/Azure-Logo-700x394-1.png\",\"datePublished\":\"2021-06-03T20:18:15+00:00\",\"dateModified\":\"2021-06-03T20:24:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#breadcrumb\"},\"inLanguage\":\"nb-NO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nb-NO\",\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#primaryimage\",\"url\":\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2021\/06\/Azure-Logo-700x394-1.png\",\"contentUrl\":\"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2021\/06\/Azure-Logo-700x394-1.png\",\"width\":700,\"height\":394,\"caption\":\"Azure logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hjem\",\"item\":\"https:\/\/blog.bardalen.no\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to reinstate management of Azure-customers in Partner Portal\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.bardalen.no\/#website\",\"url\":\"https:\/\/blog.bardalen.no\/\",\"name\":\"Blog.bardalen.no\",\"description\":\"A blog about cloudy stuff\",\"publisher\":{\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.bardalen.no\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nb-NO\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a\",\"name\":\"Tony Bardalen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nb-NO\",\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/433273fdcc418ba1a5101686ae0fa85fc15baf53a2bafc63eb84bce1911caa0e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/433273fdcc418ba1a5101686ae0fa85fc15baf53a2bafc63eb84bce1911caa0e?s=96&d=mm&r=g\",\"caption\":\"Tony Bardalen\"},\"logo\":{\"@id\":\"https:\/\/blog.bardalen.no\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to reinstate management of Azure-customers in Partner Portal - Blog.bardalen.no","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/","og_locale":"nb_NO","og_type":"article","og_title":"How to reinstate management of Azure-customers in Partner Portal - Blog.bardalen.no","og_description":"When managing a lot of customers with Azure Subscriptions, one possible solution of centralized management is via the Microsoft Partner Portal. Here you can manage all your CSP-customers from one place. This works really well with Microsoft 365 tenants where you just need to make sure you are registered as partner with admin rights. This, however, is not always so straight forward with Azure Subscriptions. At some point you may take over a customer or some variant of where your...Les mer Les mer","og_url":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/","og_site_name":"Blog.bardalen.no","article_published_time":"2021-06-03T20:18:15+00:00","article_modified_time":"2021-06-03T20:24:10+00:00","og_image":[{"width":700,"height":394,"url":"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2021\/06\/Azure-Logo-700x394-1.png","type":"image\/png"}],"author":"Tony Bardalen","twitter_card":"summary_large_image","twitter_misc":{"Skrevet av":"Tony Bardalen","Ansl. lesetid":"2 minutter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#article","isPartOf":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/"},"author":{"name":"Tony Bardalen","@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a"},"headline":"How to reinstate management of Azure-customers in Partner Portal","datePublished":"2021-06-03T20:18:15+00:00","dateModified":"2021-06-03T20:24:10+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/"},"wordCount":400,"commentCount":0,"publisher":{"@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a"},"image":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2021\/06\/Azure-Logo-700x394-1.png","articleSection":["Annet"],"inLanguage":"nb-NO","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/","url":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/","name":"How to reinstate management of Azure-customers in Partner Portal - Blog.bardalen.no","isPartOf":{"@id":"https:\/\/blog.bardalen.no\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#primaryimage"},"image":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2021\/06\/Azure-Logo-700x394-1.png","datePublished":"2021-06-03T20:18:15+00:00","dateModified":"2021-06-03T20:24:10+00:00","breadcrumb":{"@id":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#breadcrumb"},"inLanguage":"nb-NO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/"]}]},{"@type":"ImageObject","inLanguage":"nb-NO","@id":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#primaryimage","url":"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2021\/06\/Azure-Logo-700x394-1.png","contentUrl":"https:\/\/blog.bardalen.no\/wp-content\/uploads\/2021\/06\/Azure-Logo-700x394-1.png","width":700,"height":394,"caption":"Azure logo"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.bardalen.no\/index.php\/2021\/06\/03\/how-to-reinstate-management-of-azure-customers-in-partner-portal\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hjem","item":"https:\/\/blog.bardalen.no\/"},{"@type":"ListItem","position":2,"name":"How to reinstate management of Azure-customers in Partner Portal"}]},{"@type":"WebSite","@id":"https:\/\/blog.bardalen.no\/#website","url":"https:\/\/blog.bardalen.no\/","name":"Blog.bardalen.no","description":"A blog about cloudy stuff","publisher":{"@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.bardalen.no\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nb-NO"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/824afefe68762a6905723a53c0f28f9a","name":"Tony Bardalen","image":{"@type":"ImageObject","inLanguage":"nb-NO","@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/433273fdcc418ba1a5101686ae0fa85fc15baf53a2bafc63eb84bce1911caa0e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/433273fdcc418ba1a5101686ae0fa85fc15baf53a2bafc63eb84bce1911caa0e?s=96&d=mm&r=g","caption":"Tony Bardalen"},"logo":{"@id":"https:\/\/blog.bardalen.no\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/posts\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/comments?post=247"}],"version-history":[{"count":2,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/posts\/247\/revisions"}],"predecessor-version":[{"id":250,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/posts\/247\/revisions\/250"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/media\/249"}],"wp:attachment":[{"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/media?parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/categories?post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bardalen.no\/index.php\/wp-json\/wp\/v2\/tags?post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}