azure

Callback after Login() of ADAL.js is not called in Edge

一笑奈何 提交于 2021-02-07 19:55:01
问题 I am using ADAL.js(which calls Azure Active Directory) as javascript library for verifying the user. I am using the following code for this: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <script src="https://secure.aadcdn.microsoftonline-p.com/lib/1.0.15/js/adal.min.js"></script> <script> var endpoints = { "https://management.core.windows.net": "https://management.core.windows.net" }; var config = { clientId: 'e333d3fe-a73a-4476-8121-8a57f9a972ca',

Callback after Login() of ADAL.js is not called in Edge

戏子无情 提交于 2021-02-07 19:54:22
问题 I am using ADAL.js(which calls Azure Active Directory) as javascript library for verifying the user. I am using the following code for this: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <script src="https://secure.aadcdn.microsoftonline-p.com/lib/1.0.15/js/adal.min.js"></script> <script> var endpoints = { "https://management.core.windows.net": "https://management.core.windows.net" }; var config = { clientId: 'e333d3fe-a73a-4476-8121-8a57f9a972ca',

Why does my continuous azure webjob run the function twice?

时间秒杀一切 提交于 2021-02-07 18:44:30
问题 I have created my first azure webjob that runs continously; I'm not so sure this is a code issue, but for the sake of completeness here is my code: static void Main() { var host = new JobHost(); host.CallAsync(typeof(Functions).GetMethod("ProcessMethod")); host.RunAndBlock(); } And for the function: [NoAutomaticTrigger] public static async Task ProcessMethod(TextWriter log) { log.WriteLine(DateTime.UtcNow.ToShortTimeString() + ": Started"); while (true) { Task.Run(() => RunAllAsync(log));

Application Insight Analytics - Query Client Browser and Device

為{幸葍}努か 提交于 2021-02-07 18:08:59
问题 anyone knows how to query Azure App Insight to get analytics on client devices ? or OS ? I seem to be able to get good stats on Client countries but not devices 回答1: You should have used client_CountryOrRegion in your existing queries, replace it with client_Browser Or other required data models. Here are some queries I used to see summary on browsers.. pageViews | summarize count() by client_Browser browserTimings | summarize avg(networkDuration), avg(processingDuration), avg(totalDuration)

Setting the OperationTimeOut property for a Service bus worker role

倖福魔咒の 提交于 2021-02-07 17:26:33
问题 I am creating a worker role using the service bus worker role template. It is taking more than a minute for me to process each message. Because of this, i am seeing that the same message is received by the worker role multiple times, roughly one message every minute. I figured that this is because this value defaults to 60 seconds. http://msdn.microsoft.com/en-us/library/microsoft.servicebus.messaging.messagingfactorysettings.operationtimeout.aspx But I am not sure how to increase this value,

How can I Build a Generic Method in c# to Query a Partition in a Given Azure Table

ぃ、小莉子 提交于 2021-02-07 13:52:12
问题 I'm trying to build a generic method to return entries in a partition in a given Azure table. This is how it looks: public class Table : ITable { private CloudStorageAccount storageAccount; public Table() { var storageAccountSettings = ConfigurationManager.ConnectionStrings["AzureWebJobsStorage"].ToString(); storageAccount = CloudStorageAccount.Parse(storageAccountSettings); } public async Task<IEnumerable<T>> RetrieveAllInPartition<T>(string tableReference, string partitionKey) where T :

Azure Active Directory | Multi-tenant Application

江枫思渺然 提交于 2021-02-07 13:14:01
问题 Is there a way of restrict to certain tenants when using multi-tenant applications on Azure AD? Maybe I misunderstood the whole thing but I realize that a user of another tenant can log in into my application after giving consent and I couldn't find a way to restrict that login to a group of tenants I trust. 回答1: We don't currently have an application configuration property that maps to a tenant allow list for a multi-tenant app. What you can do is build this capability into your application

Azure Active Directory | Multi-tenant Application

烂漫一生 提交于 2021-02-07 13:13:04
问题 Is there a way of restrict to certain tenants when using multi-tenant applications on Azure AD? Maybe I misunderstood the whole thing but I realize that a user of another tenant can log in into my application after giving consent and I couldn't find a way to restrict that login to a group of tenants I trust. 回答1: We don't currently have an application configuration property that maps to a tenant allow list for a multi-tenant app. What you can do is build this capability into your application

Why are changes to my WebJob not being picked up when publishing the Web App?

二次信任 提交于 2021-02-07 13:00:46
问题 I have an ASP.NET MVC Web App which is deployed to Azure. The solution within VS 2013 Pro has 3 projects: the Web App project a Webjob project a Common project which stores code which is common to both the App and the Webjob. The Webjob project was added to the main App project via the Add --> New Azure Webjob Project context menu, which actually adds a new project within the same solution, which is fine. When I initially published the app to Azure, the Webjob was deployed too and all is

Adding write permission for creating Resource Groups to an Azure Active Directory Application

房东的猫 提交于 2021-02-07 12:51:05
问题 I have a C# application that will create Resource Groups. I'm using the ResourceManagementClient to create the resource group (which I assume is just a wrapper for their REST API). I'm using an Azure AD application's Client ID and Client Secret to authenticate. I'm getting this error: {"The client 'xxxx' with object id 'xxxx' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/write' over scope '/subscriptions/xxxx/resourcegroups/test-resource-group