I have two accounts, me#gmail.com and me#my-company.com. Both accounts are billing me. I created a VM, with storage, and network in me#gmail.com and under subscription "Me Personal". I was testing the movement, after planning, etc to the other account (Company AD) but my other subscription "Firstname MI Lastname". I lost my Roles, no custom roles, VM contained $HOME/payload.txt "hello world", and I "Changed Directories" using the option at the top of the Subscription blade. I selected "Firstname MI Lastname", no errors, saw the subscription was gone and then went to the company account (my billing) and ...
I selected the subscription "Firstname MI Lastname" and NO resource group, NO VM, NO storage, no resources. I looked at all resources and the moved resources are nowhere to be found.
Can someone help me find these resources? My expectation was that because the subscription was light, simple VM, hard drive, and network would just simply move across the same region and the machine and disk would just show up under the new/existing subscription along with it's resource group parent.
Thanks in advance for any reply.
David
I'm going to answer this question. I'm not sure about the two directories in my Google (gmail) account. Anyhow, I found that the resource group did move across subscriptions under another directory. This directory was not AD Default but my Firstname MI and Lastname just like the one in my company account. Under my initial account, I selected the Settings icon and saw the other directory.
And, because it was in this account, that is why it was shown in the dropdown when I selected "Change Directory" in the Subscription overview.
I still have to determine how to test the entire transfer from one tenant to the other, including the billing.
Related
I'm doing some work for a client. They created an Azure Subscription free trial and granted me the Owner role for a resource group.
I'm trying to create an Function App resource, but it is asking me to sign up for my own free trial.
Am I missing some permission or is this a limitation for free trial subscriptions?
It looks like this could have been a timing issue. The free trial subscription was created an hour or two before I tried to add a resource. I tried again today, 2 days later, and I am able to provide details for the new Azure Function.
I am now getting another error (see below) prior to the resource getting created. I've researched this, since this is the first time an Azure Function is being added to the subscription, additional changes need to be made at the subscription level that I don't have permissions for.
Resource provider(s): Microsoft.Web are not registered for
subscription Free Trial and you don’t have permissions to register a
resource provider for subscription Free Trial
Here's the article that explains the error:
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/error-register-resource-provider
For now, I'll just ask the subscription admin to set up the resource for me.
I am using Azure DevOps with a Microsoft Account (#outlook.com). The same account is co-administrator of 3 different Azure Subscriptions.
I am trying to create a new Service connection from my Azure DevOps Project to my newest Azure Subscription (out of the 3).
When I:
Go to my project's Project Settings view and click on the Service Connections tab.
Click on the 'New service connection' button.
Choose 'Azure Resource Manager' for the connection type.
Choose 'Service Principal (automatic)' authentication method.
I find that the drop-down list for Subscription is only showing my two older subscriptions and my newer subscription is missing, as shown here:
How can I get my third, newer, subscription to appear in the 'Subscription' list?
I've tried the following without success:
Made my Microsoft Account to be a 'Co-administrator' of the Azure Subscription.
Gave my Microsoft Account the 'Owner' Role for the Azure Subscription.
Added my Microsoft Account to the 'Global Administrators' group in Azure Active Directory.
Set 'Guest users permissions are limited' to 'No' in the In my Active Directory's External collaboration settings.
UPDATE: The subscription that's not shown in the list is currently a "free-tier" subscription whereas the 2 subscriptions that are shown are "pay-to-go". Could this be the reason for my problem?
This is what solved it for me:
Go to your MS Azure account.
Search and go to 'Tenant Properties'.
Click on Manage Security Defaults.
Turn these off
I can finally see my Azure Subscription in the Subscription list. I'm not 100% sure which step I took is responsible for fixing the issue so I'll list 2 things that I did:
In the Azure Portal I created a new App Registration, this time having the "Supported account types" setting set to "Accounts in any organizational directory ... and personal Microsoft account ...":
In PowerShell and using the AzureAD module I reset the Service Principal Key Credential:
a. Ran PowerShell (v5.1) "as Administrator".
b. Install-Module -Name AzureAD
c. Connect-AzureAD -TenantId <tenant-id-from-the-app-registration-overview>
b. New-AzureADServicePrincipalKeyCredential -ObjectId <object-id-from-the-managed-application-overview>
PS - The Subscription's being in the free-tier seems to be irrelevant to the issue.
You can try accessing DevOps in a private mode, it simply gets the existing subscription.
Not an exact answer to the OP's question, but I think it's related and maybe helpful to others. My issues was creating a new subscription and that subscription not showing up on the Subscriptions page.
Click on the "Directories + subscriptions" button in top right.
Open dropdown and ensure desired subscriptions are selected
Navigate to Subscriptions page and click on "Subscriptions == globalfilter" and selected desired subscriptions.
See if you have a "default subscription filter" set on the Portal Settings page. Seems to add one by default.
I solved the problem by deleting an old app registration with an expired certificate. I'm not sure about the link between the two, maybe it forced a refresh somewhere.
I am moving a VM and its related resouces to another subscription and getting an error.
{"code":"MissingRegistrationsForTypes","message":"The subscription 'xxx' is not registered for resource types 'Microsoft.Compute/disks (eastus),Microsoft.Compute/virtualMachines (eastus)'."}
When I view the Resource Provider status in Azure portal I can see that Microsoft.Compute provider is Registred.
Any ideas on how to solve this? Thanks.
Update
I managed to solve this by creating a sample VM in East US region under that subscription, which I am guessing registered the provider.
For moving resources to another subscription, there are some limitations to that.
The source and destination subscriptions must be in the same tenant.
The resource provider must be registered in both subscriptions.
The account which you use to move the resources must have enough permission.
The service must enable the ability to move resources.
The four points above are the most important. For more details, see Checklist before moving resources.
I signed up for a Microsoft 'Developer Program Benefit' subscription for Azure, besides my normal paid account.
Now this account suddenly expired (at least suddenly for me, I now read that it only lasts a year).
My situation is that I have some storage accounts which are coupled to 2 resource groups which are attached to the 'Developer Program Benefit' subscription.
So what I thought I had to do was create 2 new resource groups attached to my paid subscription and then change the resource group for the storage accounts to these new resource groups.
So I am in the storage account
And choose 'change'
However, I get this message:
So now I'm kind of stuck. I don't want to re-create all my storage accounts, but I can't reassign them to the new resource groups either.
For visibility:
This is the documentation for specific cases based on subscription cases: https://learn.microsoft.com/en-us/azure/billing/billing-subscription-become-disable
In your case and to re-affirm Wayne's answer, you'd have to raise a billing support case and it will be handled for you.
I have a windows account (hotmail.com) that has an associated MSDN Enterprise subscription.
I'm working for a company that has a PAYG subscription and they want to give me access so I can deploy websites, VMs etc.
They made me "co-administrator" but when I login to the portal and switch to that directory I get a "No subscriptions" notification. "You do not have access to any subscriptions in the << redacted >> directory".
In their directory I was a "User" so I thought changing that to "Global Administrator" would help. But I get the same message.
What are we missing?
In the classic portal (https://manage.windowsazure.com), adding you as a co-administrator is enough to give you full access to the subscription.
However, in the new portal (https://portal.azure.com), you should be added as a Co-Owner through the RBAC system.
Someone with an appropriate role should go to Browse > Subscriptions > "subscription_name" > All settings > Users to add you with the Owner role for example.
Does it help?
My issue was a little bit different, I had 2 directories, both associated with the same users that got me into the error of not recognising the subscription for any directory.
I just deleted the directory I created and left the subscription associated to "the default directory" via settings in the old portal and it worked like a charm.
My issue was that I created a new Azure AD, when I was trying to create my first VM there I was getting the message "you don't have any subscriptions on this directory", it was not recognizing my subscription under the new AD.
To fix this, go back to the Default Directory, go to Home > Subscriptions and select your subscription, then click on the "Change Directory" tab and select the option "From Default Directory" to "New Directory"