I'm having some trouble with linking an Azure B2C tenant to a subscription. I need to do this so that I'll be able to run powershell against it for custom policies, etc.
In our organization, we have a primary directory which has all internal org resources (users, VMs, apps, vnets, etc) attached to it. Let's call this directory A. We also have a separate tenant for a web application that external users use which requires oauth. This portion itself if working fine and that application is live in production. Let's call this directory B. My account has complete admin access to both directories.
If I switch to directory B, then I go to Azure AD B2C -> Overview, it tells me the subscription status is Registered, and has a subscription ID which is the same exact subscription ID of the subscription in directory A, where I created this tenant.
If I follow the instructions at https://learn.microsoft.com/en-us/azure/active-directory-b2c/tutorial-create-tenant to try and Link an existing B2C tenant to my subscription, the B2C (directory B) is not found.
When I try to launch Powershell via a cloud shell when in directory B, it tells me"No valid subscriptions found" and links me to https://aka.ms/cloudshell/free. If I click that link, and go to Pay as you go -> Get started -> (authenticate again) -> I get the "Create a subscription" page. This is confusing because I already created a subscription in directory A for this, of which the subscriptionID matches in B2C. But if I continue through the "Create a subscription" wizard, on the 'subscription directory' drop-down menu, I do see all of our directories, including both directory A & B. I see that I'm supposed to select "the AAD to associate the directory with", so I could in theory select directory A, then Create. But something about this process feels incorrect so I haven't completed it.
Is anyone able to assist? Am I doing something wrong?