Add diagnostic settings to Azure Active Directory with .net sdk arm client - azure

I found this stackoverflow entry about how to add diagnostic settings to any azure service with the .net sdk. However, I could not find any information about how to add it on a tenant / azure acitve directory level.
Can anyone please give assistance on how to assign it on this level with the .net sdk?

Related

Not able to see Live Streaming channel in Azure Portal if created from .NET SDK Service Principal account

I am not able to see Live Streaming channel in Azure Portal if created from .NET SDK Service Principal account. I am the Account Admin as well as "Owner" for the subscription as well as the same Media Service resource. If I create it from Portal I can see it. But, if created programmatically with SP account, not able to see it in Portal.
I have followed the sample from this link,
https://learn.microsoft.com/en-us/azure/media-services/latest/stream-live-tutorial-with-api
Thanks,
Avi
Based on the sample you linked to you are using the V3 API for Azure Media Services. Currently, you cannot use the Azure Portal to manage V3 resources. If you need a UX for managing V3 resources you can use the Azure Media Services Explorer for V3 which is available from github here. We are working on updating the Azure Portal to support resources created with V3 API. The following link provides details on differences between using v2 and v3 APIs. The Azure Portal only currently supports the v2 APIs.

Application manifest for azure enterprise applications

I have an enterprise application hosted with azure. Authentication page is refreshing again and again even after putting credentials and users are not able to log-in. I tried to resolve this issue by following this document. But as my application is an enterprise application , I can not see any manifest file in azure portal. Can some expert help me to find and edit manifest file for enterprise application?
I just tested in my tenant and can see the manifest for one of my enterprise applications. You need to do it from the App Registrations section.
Go to Azure Active Directory > App registrations > Select "All apps" from the dropdown > click into the enterprise application that you have registered under that tenant.
Have you looked at the Enterprise application properties to see which Azure AD is the publisher for that application?
One possible reason could be that the application is Multi-tenant and the Azure AD that you're looking in is just a tenant using the application and not really the Azure AD that has published the application.
Application registration will exist only in the publishing Azure AD. (you can reach the manifest there, assuming you have appropriate permissions in the publishing Azure AD)
Enterprise Application > Properties (Notice the Publisher)

Setting up run-time Application Insights on a Cloud Service

According to Microsoft's documentation, Application Insights is best deployed both at build time and run-time, and can be installed at run-time by "select[ing] Application Insights on the app's control panel in Azure". But I don't see it on the configuration for Cloud services, at least not in the new portal:
Is the documentation incorrect (necessitating the long process laid out elsewhere on SO still required)? If not, where should I be looking?
EDIT 3 You can supposedly set it while publishing from Visual Studio (if you upgrade the Azure SDK to 2.9 and "Add Diagnostic Configuration" in Visual Studio for the project):
but it still insists I download the Status Monitor:
In the Azure Portal, currently there is no Application InSights on the Cloud Service control panel. We could find the Application InSights on the Azure App Service. Azure App Service and Cloud Service are different services in Azure. The difference between Azure AppService and CloudService please refer to Azure App Service, Virtual Machines, Service Fabric, and Cloud Services comparison.
"select[ing] Application Insights on the app's control panel in Azure"
In the document that you mentioned, it is for Azure App service
Select Application Insights in the Azure control panel for your web app
For Cloud Service, please refer to document, there are more detail steps about how to setup Application Insights for each role .

Azure cloud service deployment issue with pay as you go subscription - cloud services are not available in this subscription

I am having an issue while deploying an Azure web role to a cloud service. It shows me the error
Cloud services are not available in this subscription.
I am using a pay as you go subscription on Azure. I don't know if there is any limitation with this subscription for cloud service deployment or not.
.
Updated version of JerryGoyal's solution.
Cloud Service Management will have to be done using the new Azure Portal, because Cloud Service Management in the old portal will be disabled as of 11/15/2017.
Log into the new Azure Portal.
Go to the Subscriptions View.
Set your account as a Co-Admin. Microsoft Documentation.
I think the issue you're running into is that the Cloud Service Publish Wizard in VS only supports subscriptions in which you are an admin or co-admin granted via via the old portal (manage.windowsazure.com). If you've been given access via RBAC or the new portal, then VS will not see the resources under those subscriptions.
To work around it, you can build the package using msbuild.exe and then upload it via the portal.
That help?
Cloud services are not available in this subscription
The error is caused because the Cloud Services still use the old deployment model that is based on Azure Service Management (ASM).
To deploy an ASM based component to Azure you need to be ‘co-admin’ for the subscription.
Right now you are ‘Owner’ on the new portal but this role only has impact on the new ARM based resources.
So, just ask your subscription admin to login to the old portal (https://manage.windowsazure.com) and make you co-administrator:
Login to the old portal
Click on Settings –> Administrators
Click on the Add button at the bottom
Enter the co-admin email address and click on the OK button.
After this reload your Visual Studio and the problem will be solved.

Enabling monitoring in azure cloud service

I want to monitor a cloud service in azure portal . When I go to the azure portal , I get the message as "LEVELThis setting is not currently available." under monitoring tab.
Then I learnt from the msdn that , right click on web role in visual studio and check the "enable diagnostics" checkbox.
Then I redeployed the application azure portal .
Still the monitoring option is not configurable. What could be the issue ? What am I missing here?
For Storage you can enable monitoring and logging from within the respective tabs within the Storage configuration pages of the portal.
Jason

Resources