How does one associate Visual Studio subscriptions with a company Azure subscription? - visual-studio

I have a Visual Studio subscription.
I'm trying to implement Application Insights in a Web API application in Visual Studio.
The wizard is trying to associate AI with my Visual Studio subscription. Rather, I want to integrate with my company's Azure subscription.
So, how is this done? Do I have to contact the Azure admin and add me to Azure? I have seen responses like "add you as a co-administrator". This is pretty dumb, when you're a developer.
Our company Azure subscription has Active Directory integration. So what. How do I register with the company Azure subscription that I want to implement services as a developer in the company??
Can someone provide some insight or references? The documentation is ponderous on this point.

If I understand your question correctly, you need to obtain an Instrumentation Key from a resource that is created in your company's Azure portal. Then, you can install application insights in your project and use that instrumentation key.
If, on the other hand you are asking why you have to be a co-administrator then you are correct. This was the case for a while but not anymore.
Account admin can now assign new users to specific resource groups. Each resource group can contain one or multiple resources. Read more: https://learn.microsoft.com/en-us/azure/active-directory/role-based-access-control-configure

Related

Visual Studio Enterprise suscription & azure?

I have a Visual Studio Enterprise suscription and they show me that i have 150$ credit on azure.
Is there anyway i can use some of the azure services through my suscription?
if yes how?
Thank you
Yes, you may use Azure offerings using your monthly $150 credit.
The only thing that I have come across that I can not use it for is for SSL Certificates.
When you create a new Azure resource be sure to select your subscription that you have the credit on.
Please note the following from Microsoft.
The monthly Azure credit for Visual Studio subscribers is for development and testing only and does not carry a financially-backed SLA. We reserve the right to suspend any instance (VM or cloud service) that runs continuously for more than 120 hours or if we determine that the instance is being used for production. We are making this capacity available to Visual Studio subscribers on a best efforts basis; there is no guarantee of capacity availability.
For up to date details on what you can use it on see this link.

Azure contributor access from Visual Studio

As security best practice our Client has restricted developer roles to Contributor on their Azure Portal resource group. All is fine but this seriously restricts using any kind of azure integration (deployments, server explorer, cloud explorer etc) from Visual Studio if we use the Contributor role to sign in to azure from Visual Studio. We are working on typical MSBI services like data lake analytics (usql), azure Analysis services, dw. And we cannot use any of the visual studio azure connectivity features.
I found a solution, to use a management cert. But MS site warns against using this as it will allow access to all azure resources defeating the purpose of contributor restrictions.
Could I please request for any guidance?
You can use RBAC'd accounts with VS, only the "legacy" features will not recognize them - e.g. Cloud Service Publish, Server Explorer (for this use Cloud Explorer instead).
Anything recent (AzureRM Tools, Cloud Explorer, Web Tools, Connected Svcs, Team Explorer) will work with RBAC
What features are you having trouble with?

Enhance/Improve/Extend CRM 4.0 with no access to server

My company uses MS dynamics CRM 4.0 and I can only access the client side of it (using the URL in IE to open the CRM system).
I can see that the system could do with some enhancements and plug-ins.I want to work on them because when I suggested these enhancements I was told that the system will be upgraded, after maybe 2 years. So no one is working on making it better even though the extension could really help the users.
Details: Currently, users enter details for each sale into the system. This takes a lot of time because the server and centralised database is in another continent. What I want to do is to have the users enter their data into an excel sheet and a system scheduler will upload the data overnight.
My question is can I develop, plug-ins or extensions etc, on the CRM with VS Express Edition? I have no access to the CRM Server or database since I'm using only the browser to use the system to enter data, just the client side CRM window.
Edit This is not lack of research. I have not found an answer to this anywhere.
I appreciate your expertise and experience.
If you are talking about .NET, server-side plugins, you'll need the following things as described on the "Creating a Simple Plug-in" page of the 4.0 SDK:
To complete this walkthrough, you will need the following:
Visual Studio 2005 or Visual Studio 2008.
A pre-built version of the Plug-in Registration tool.
A Microsoft Dynamics CRM SDK installation.
Network access to a Microsoft Dynamics CRM 4.0 server.
A Microsoft Dynamics CRM system account with either the System
Administrator or System Customizer security role, which is also a
member of the Deployment Administrators group in Deployment Manager.
The line about network access to the server I'm not so sure about. If you register the plugin to the database as you typically would, I don't think you'd need network access; if you deploy to disk, that's when I think you need it.
If by "extensions" you mean things like adding scripts to forms, the only thing you'd need is the System Customizer or System Administrator roles.
Update based on your addition to question:
If you want to schedule a daily import, you should be able to do that with the limited, web-only access you have (assuming you have enough privileges to kick off imports [which, if you can do it through the UI, you can do it programmatically]). Your program could run and kick off import jobs (see "Configuring Data Import" page of SDK). I know for sure you could kick off imports of csv's, not sure about programmatically importing excel files, but you could programmatically transform the excel files to csv and then kick off the jobs.

Visual Studio hangs when creating Azure App Service

I'm trying to follow a tutorial on Azure deployment. I'm stuck on one of the first steps creating the App Service. It seams that the form tries to find all App Service Plans but can't, so all of Visual Studio hangs. I had to kill it with Task Manager. Any clues on how I can fix this? Do I need to create something at the Azure management console?
Had the same issue, turned out I hadn't installed Azure SDK, you'd think there would be some kind of error message, but no. Installing the SDK fixed issue
I did the steps below to resolve the issue.
Login to your Azure account
Manually create an app service (use any dummy app service name). The service plan and resource group will be created while you're creating this app service
Once you see the dummy app service created on your Azure dashboard (it will take around 1-2 minutes), open your visual studio from your pc, create your web project and check api service
--- This time, the service plan and resource group will be brought in.---
Click "Create" to create your "real" web/api project in Azure
Now you can remove the dummy service from Azure
I had the same problem. It started to work after I logged into the Azure Dashboard and manually created an App Services Web App.
Ran into the same issue a few days ago and here is how I got it working.
I had yet to create any App Services in the Azure account I had tied to Visual Studio and when I got to the Create App Service window you posted, Visual Studio would freeze.
I logged into the Azure Portal, created an App Service with a different name than the project. Once it was created, I then deleted the newly created App Service.
After doing this had no problem freezing in Visual Studio. The fix appears to be to create at least one App Service in portal before it works in VS.
I did two things at once, not sure which one got through the lock up.
1) In Visual Studio, went to File -> Account Settings then under the "All Accounts" section of the Account Settings window I reentered my credentials for the Azure account I had linked the project to. This account had a notification raised saying "We need to refresh the credentials for this account."
2) As others have said, I created a new Web App. I'm not sure this was the problem, however - I had previously created a couple other web apps and these resources were still present in my dashboard.
I have to agree with the above comments, too - the error messages provided for this are really, really poor.
Check that there are no characters that it will not accept. For instance an underscore '_'
Azure built a dummy name for me to use including an underscore which it does not accept. It was trial and error for me to find this where a simple warning would have saved lots of time.
Login to Azure Portal and create necessary resources. VS screens do not seem to work properly.
I created Api App on azure portal and my problem solved.
Same problem, however I have 3 Azure subscriptions, but even after making sure all of'em has at least one App Service it still hangs on this step. No other option than to not check the option to host.
Updating Azure SDK on VS2015 fix the problem in my case

Visual Studio Online Access

Visual Studio Online is available in Azure for creating Team Projects on cloud. Now what i have a doubt is if we can restrict the access of VSO from just corporate network or not? If yes how can we achieve that? Can anyone provide links or steps to configure it? Can Azure Active Directory help in this case?
For eg: There is XYZ Company that wants its developers to work with VSO only while they are on premise of the office. When they go home or outside corporate's network he/she must not be able to access or make changes in VSO.
Any help will be appreciated.!!
I think you can do it via using Azure Active Directory.
As we know that Azure AD can be integrated with an existing Windows Server Active Directory, giving organizations the ability to leverage their existing on-premises identity. Please check:
http://blogs.technet.com/b/ad/archive/2014/08/04/connecting-ad-and-azure-ad-only-4-clicks-with-azure-ad-connect.aspx
If the Visual Studio Online account is connected to an active directory, only users in that directory can get access to your account.
Please check the following two links for the details:
https://www.visualstudio.com/get-started/setup/manage-organization-access-for-your-account-vs
http://nakedalm.com/use-corporate-identities-existing-vso-accounts/

Resources