<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>The Cloud Hacker</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/thehacker/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/thehacker/feed.xml</link>
    <description>Hacking the Azure Cloud</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:43:00 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Here we go...</title>
      <link>https://docs.microsoft.com/archive/blogs/thehacker/here-we-go</link>
      <pubDate>Mon, 08 Feb 2016 23:14:46 GMT</pubDate>
      <dc:creator><![CDATA[thehacker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/thehacker/?p=181</guid>
      <description><![CDATA[I'm Brett Hacker. Yep, it's my real name. I've been working on the Microsoft stack for over 20 years...]]></description>
      <content:encoded><![CDATA[I'm Brett Hacker. Yep, it's my real name. I've been working on the Microsoft stack for over 20 years and have recently joined the company as a Cloud Solution Architect in the Health and Life Sciences unit.

From time to time, as I work with customers, I'll discover a new or different way of doing something...and from time to time, I'll put it here for posterity's sake.

If you're a cloud architect, consider checking us out:

<a href="https://blogs.microsoft.com/jobs/why-job-freedom-and-global-reach-are-among-the-draws-for-cloud-solution-architects/" target="_blank">https://blogs.microsoft.com/jobs/why-job-freedom-and-global-reach-are-among-the-draws-for-cloud-solution-architects/</a>

More to come...

&nbsp;

-Brett]]></content:encoded>
    </item>
    <item>
      <title>Cross-Tenant Azure Co-Administration with Azure B2B</title>
      <link>https://docs.microsoft.com/archive/blogs/thehacker/cross-tenant-azure-co-administration-with-azure-b2b</link>
      <pubDate>Mon, 08 Feb 2016 21:43:39 GMT</pubDate>
      <dc:creator><![CDATA[thehacker]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/thehacker/?p=21</guid>
      <description><![CDATA[So, the ability to add external co-administrators to an Azure subscription has been around for a...]]></description>
      <content:encoded><![CDATA[<span style="color: #1f497d">So, the ability to add external co-administrators to an Azure subscription has been around for a while, but it's been limited to adding an MSA (Microsoft Account, formerly a Live Account) or a user from a different tenant that had been established under the same tenant.
</span>

<span style="color: #1f497d">But a business may have the need to add co-administrators from two different tenants – and two different subscriptions – that they manage themselves. For instance, consider the situation where an Office 365 tenant is created separately from the default tenant that's created when a new Azure subscription is spun up. For various reasons, they may desire to keep both, and keep them separate.
</span>

<span style="color: #1f497d">The new <a href="https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2b-what-is-azure-ad-b2b/">Azure Active Directory Business to Business (B2B) capabilities</a> (currently in preview) can help out here.
</span>

<span style="color: #1f497d">To make this work, the external user you want to add needs to be a participant in the directory that's authoritative for the subscription you want them to administer. Here are the steps:
</span>
<ol>
	<li>
<div><span style="color: #1f497d">I'm logged into my MSDN subscription, which is currently housed within my "thehacker.com" tenant:
</span></div>
<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-1.jpg"><img class="alignnone wp-image-182" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-1-1024x225.jpg" alt="b2co-1" width="700" height="154" /></a>
</span></li>
	<li>
<div><span style="color: #1f497d">As you can see, I can't add my account from microsoft.com as an admin to this subscription:
</span></div>
<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-2.jpg"><img class="alignnone wp-image-211" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-2.jpg" alt="b2co-2" width="700" height="571" /></a>
</span></li>
	<li>
<div><span style="color: #1f497d">So, I need to get that account in this authoritative tenant (thehacker.com)…except that doesn't work either. "No user exists with this username in a directory to which you have access". Meaning, the account, subscription, and tenant I'm currently logged in with has no administrative access to search or retrieve accounts from Microsoft's directory.
</span></div>
<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-3.jpg"><img class="alignnone wp-image-221" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-3.jpg" alt="b2co-3" width="700" height="444" /></a>
</span></li>
	<li>
<div><span style="color: #1f497d">Enter B2B. Select "Users in partner companies":
</span></div>
<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-4.jpg"><img class="alignnone wp-image-231" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-4.jpg" alt="b2co-4" width="700" height="383" /></a>
</span></li>
	<li>
<div><span style="color: #1f497d">You'll need to create a <a title="CSV File Format Documentation" href="https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2b-references-csv-file-format/" target="_blank">CSV file</a> to upload. You can upload thousands of accounts this way and link users from foreign directories into this directory. They'll still authenticate to their authoritative directory, but you can assign access rights to those authenticated users within YOUR directory. At a minimum, you need the email/account id. I've added the DisplayName, and for my convenience, added (MSFT) so I could easily identify this account in the user list. The other columns of the file are to pre-assign an external user to an application that you may have published in your directory. That's not relevant for this use case (but is very cool for others):
</span></div>
<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-5.jpg"><img class="alignnone wp-image-241" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-5-1024x79.jpg" alt="b2co-5" width="700" height="54" /></a>
</span></li>
	<li>
<div><span style="color: #1f497d">Once you've uploaded the file, it will begin processing (as you can see, sometimes labeling can be very helpful):
</span></div>
<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-6.jpg"><img class="alignnone wp-image-244" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-6-1024x681.jpg" alt="b2co-6" width="700" height="465" /></a>
</span></li>
	<li>
<div><span style="color: #1f497d">The status report will indicate for each imported account that an email has been delivered:
</span></div>
<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-7.jpg"><img class="alignnone wp-image-251" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-7-1024x201.jpg" alt="b2co-7" width="700" height="137" /></a>
</span></li>
	<li>
<div><span style="color: #1f497d">The invited user will get an email:
</span></div>
<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-8.jpg"><img class="alignnone wp-image-261" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-8.jpg" alt="b2co-8" width="700" height="447" /></a>
</span></li>
	<li>
<div><span style="color: #1f497d">Clicking the link will take them to a portal where they may "redeem" the invitation. This will confirm their addition to the tenant as an external user:
</span></div>
<span style="color: #1f497d"><a href="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-9.jpg"><img class="alignnone wp-image-271" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-9.jpg" alt="b2co-9" width="600" height="509" /></a>
</span></li>
	<li>
<div><span style="color: #1f497d">Now, you can see that they've been added as a user from "Microsoft Azure AD (other directory)". Since I'd previously added an MSA, a linked AD account (from my on-prem lab), and the default "onmicrosoft.com" tenant account, I now have 4 different ways to authenticate myself to this directory:
</span></div>
<img class="alignnone wp-image-191" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-10-1024x460.jpg" alt="b2co-10" width="700" height="315" /><span style="color: #1f497d">
</span></li>
	<li>
<div><span style="color: #1f497d">With all of that completed, you can now go back to the original step…this time without an error. Assign the co-admin rights to whatever subscriptions you want:
</span></div>
<img class="alignnone wp-image-192" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-11.jpg" alt="b2co-11" width="700" height="494" /><span style="color: #1f497d">
</span></li>
	<li>
<div><span style="color: #1f497d">When you log into Azure now using that just-added account, you'll see whatever directories you originally had access to, as well as the new directory you just assigned. Select the new directory, then enable viewing the resources in whatever associated subscriptions you have access to in that directory:
</span></div>
<img class="alignnone wp-image-201" src="https://msdnshared.blob.core.windows.net/media/2016/02/b2co-12.jpg" alt="b2co-12" width="700" height="423" /><span style="color: #1f497d">
</span></li>
	<li><span style="color: #1f497d">Voila! <span style="font-family: Wingdings"></span>
</span></li>
</ol>
<span style="color: #1f497d">
</span>]]></content:encoded>
    </item>
  </channel>
</rss>