MS Azure and publish from VS without subscription credentials? - azure

In our organization, we have an Enterprise Azure Subscription and a few members of our team can use it with their own AD credentials.
For instance, I have the 'owner' role for my account, but don't have the login/pwd of the subscription.
However, in Visual Studio 2015, for a Azure Service, publish Azure application, I need to specify a account an choose the subscription.
And there is no subscription listed for my account.
So what should I do to be able to publish from Visual Studio?
Or what further rights should I ask aside my 'owner' role in Azure?
EDIT: I opened the same topic on MSDN (https://social.msdn.microsoft.com/Forums/en-US/e242ae0a-8da3-49fd-9fff-0460c4e294b8/how-to-use-azure-publish-from-visual-studio-with-entreprise-team-subscription?forum=azureapimgmt)
EDIT: this topic has some interessting info but not directly related since I do NOT have the subscription myself:
Visual Studio not finding my Azure subscriptions

I'm guessing you're working with multiple accounts...
You may not be signed into visual studio with the correct account. The account name dropdown in the upper right hand corner of visual studio and select Account Settings. From here ensure the account associated with your Azure resources is present under All Accounts. MS has some more guidance here:
https://msdn.microsoft.com/en-us/library/dn872465.aspx

Related

Add Visual Studio Professional subscription to Azure account

I need some help in activating my Azure MSDN subscription.
I had earlier created a free account with Organization ID which got expired after 1 month. After this, I did not do anything and this Azure subscription of mine is disabled.
Now, I have installed VS Professional licensed copy on my system for which I want to change the Azure Free subscription to Azure MSDN subscription.
But, when I try to add new subscription to my Azure account with VS Studio MSDN, it says -
You are not eligible for this offer.
This offer is only available to Visual Studio Professional Subscription (MSDN) subscribers.
Also, when I open "https://my.visualstudio.com", it still shows my subscription type as "Visual Studio Dev Essentials".
How to resolve this issue?
Any extra steps to be taken to associate my Organization ID with VS subscription?
Try with these steps
1.If you already have the subscription .If you assigned a subscription to yourself, you can visit the Visual Studio subscriber portal to start downloading software and using other subscriber benefits.
2.Click View my subscription to open the subscriber portal and begin using
your subscription.
If you purchased more than one subscription, proceed to the Visual Studio Subscriptions Admin portal to assign subscriptions to others. You may need to add your new subscriptions to the Admin Portal if this is the first time you've purchased them.
For more details refer this document

How can I associate a subscription with a new tenant in Azure?

I have a Visual Studio Pro subscription through my work, and when I log into the Azure portal I can see a directory representing my work under my account name in the top corner.
As far as I can tell "directory" and "tenant" are used interchangeably in the Azure documentation. So I wanted to create a new tenant as a playpen to allow me to experiment with Azure. I was able to do that but now when I try to log in to that tenant via Azure CLI I get an error "No subscriptions found.". This despite when I log into my work tenant it tells me I have a Visual Studio Professional Subscription.
Is it possible to set up a different tenant/directory for the same account, to use as a playpen, and somehow connect it with my VS Pro subscription? If so, how?
I guess the simplest thing you could do is invite a user from your playpen directory by assigning them a suitable RBAC role in your VS Pro Subscription. That way when you login using your playpen directory account and try to list subscriptions, you will find your VS Pro subscription there.
Other option would be to associate your Azure Subscription to your playpen directory. Please see this link for more details: https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory.
Not sure if you want to do this but you can transfer your Azure Subscription to your playpen directory. Please see this link for more details if that's what you want to do: https://learn.microsoft.com/en-us/azure/role-based-access-control/transfer-subscription

What is the relationship between Azure and Visual Studio Team Services

We have a Visual Studio Team Services instance that is used by the company I work for.
The company has an Azure instance. As far as I am aware there is no connection to VSTS.
When I was added to VSTS as a Visual Studio Pro level user some months ago we had to use my Microsoft Account as we couldn't use my work identity because my MSDN subscription is linked to my Microsoft Account as we could not link it to my work identity; apparently this was because we use Office365 in the office.
We now have problems adding Basic Users to VSTS. I enter the users Microsoft Account identity and I am told "No Identities Found".
I looked at VSTS Settings where I can see "This account is backed by the Default Directory Azure Active Directory."
I can also see an "Azure Subscription ID". When I follow the Subscription ID link I end up at my Microsoft Account Azure instance.
I had other users log in to VSTS and they too are seeing my Azure Subscription ID in VSTS Settings.
Why is this happening?
How do Azure instances/accounts relate to VSTS instances/accounts
Can I break the link between Azure and VSTS
You can link your VSTS account to the azure from your azure portal:
Azure - VSTS service
Then, what we do is to add the users to the Azure active directories. As far as I know, these users must be registered in Microsoft.
Once it's done, you can add the users to the VSTS.
Hope it helps you.
The Team Services uses an Azure subscription to bill purchases and can control access with Azure AD.
You can unlink your VSTS account from Azure portal. More information, you can refer to this article: Delete or recover Visual Studio Team Services account
I am an idiot.
Turns out the company VSTS was linking to the company Azure.
I became confused when clicking the Manage button in VSTS | Azure Subscription ID.
That took me to the Sign in to Azure page and displayed my login, which takes me my Azure.
It was only when we checked the Azure Subscription ID in VSTS against my Azure Subscription ID that it became apparent I was following a red herring. The ID matched the companies Azure ID. So I can use that to add users and subsequently add them to VSTS.

Using organizational AD for multiple Azure subscriptions

We have two Azure subscriptions and an Office 365 subscription for our company.
In "Subscription #1", we have a VNET and a bunch of VMs. We have our "organizational AD" in this VNET. We also set our Office 365 subscription to use our organizational AD that is in this Subscription #1.
We then have a second Azure subscription (Subscription #2) in which we have WebApp's, databases and Visual Studio Team Services (VSTS - formerly Visual Studio Online) repositories. We set up our VSTS to use the directory service -- WAAD -- associated with this second subscription.
My question is: can we set it so that this second Azure subscription uses our organizational AD to manage user access? Our primary goal here is to have "single sign-on" in this second Azure subscription. For example, we want our developers to be able to use their organization AD accounts to access the VSTS repositories.
P.S. We do prefer keeping these two Azure subscriptions separate but still have single sign-on.
In short, yes you can. The easiest way to do this is by putting in a support ticket with Azure and asking them to perform this task for you. You should be able to put a ticket in with billing support to avoid costs.
The other way to do this involves having the Service Administrator of the 2nd Azure subscription be a Global Admin on the Azure Active Directory in question. You can then follow the steps found in this link.

Unable to sign in using my Windows Azure account while creating an Azure project from Visual Studio 2013

I am trying to create an Asp.Net web application from Visual studio to host in Windows Azure. After signing in with my work email(having MSDN subscription and Windows Azure benefits activated) I am shown this message:
Sorry but we didn't find any Windows Azure subscriptions associated with your account.
You can sign in with a different account, or as an MSDN Subscriber, you can get started with Microsoft Azure using monthly credits that are included in your MSDN subscription. Just activate your MSDN benefit to get started.
I have already activated my MSDN benefit and also have one Asp.Net web application up and running on Windows Azure with the same account for last 10 days.
I don't understand why it's happening. If anyone knows about it then please let me know.
Thanks
The issue has been resolved with the help of my organisation's IT Admin. Here is the resolution.
The problem was that, while signing in, I was give two option to choose from after entering my email Id-
Work or School account (Assigned by your work or school) or
Microsoft Account (Personal Account).
I was selecting the first one i.e Work/School account. My MSDN subscription is provided by my organization but the Windows Azure account I created using that MSDN subscription is my personal one and not provided by my company. So I should have selected the second option i.e. Personal Account.
Now when I select Microsoft Account while signing, my project is successfully created for hosting in Windows Azure.
So to msdn and activate Azure under that.
https://msdn.microsoft.com/en-us/subscriptions/manage

Resources