azureportal

Webconfig overrides for Azure Cloud Services

醉酒当歌 提交于 2021-01-29 02:12:53
问题 I have a database connectionstring in my Azure cloud service's web role web.config. While developing this is pointing to localhost, but when deployed I want to point my production database. With azure websites you can override web.config settings and connectionstrings using the azure portal but how do I do this with cloud services? Also, in the new azure portal, it says Cloud Services (classic) , does this mean deprecated? Should I be using a newer azure feature for hosting my soap/rest

Can I restrict who accesses my Azure website to people in the US?

喜欢而已 提交于 2021-01-28 08:51:22
问题 I want to limit the people who can see and visit my website to only those in the US! I know I can restrict IP addresses to only those I give in my web.config file. Is there some subnet mask or something I can use below to define all US ip addresses or is there some Azure settings I can configure in the Azure portal? ex. <system.webServer> <security> <ipSecurity allowUnlisted="false" denyAction="NotFound"> <add allowed="true" ipAddress="24.130.112.11" subnetMask="255.255.0.0" /> <add allowed=

Could not load file or assembly 'System.Private.ServiceModel' in Azure Function v2

好久不见. 提交于 2020-08-07 03:44:09
问题 I used a v2 azure function (durable function) with custom dll (.net core 2.2) that calls a service and I get the following exception: Could not load file or assembly 'System.Private.ServiceModel, Version=4.1.2.4, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' In the debugging process, I can't step into the method and the exception is thrown without letting me inside it and I don't know exactly what tried to access that library. Putting manually the package from .nuget in the bin folder

azure application settings - how to add nested item

末鹿安然 提交于 2020-07-08 07:22:28
问题 i have a appservice on azure that is running a .net core api. in my appsettings.json file i have a section something similar to : "Serilog": { "LevelSwitches": { "$controlSwitch": "Information" }, "MinimumLevel": { "ControlledBy": "$controlSwitch", "Override": { "Microsoft": "Warning", "System": "Warning" } }, "WriteTo": [ { "Name": "File", "Args": { "path": "LOGS\\log.json", "rollingInterval": "Day", "formatter": "Serilog.Formatting.Json.JsonFormatter, Serilog" } }, { "Name": "Seq", "Args":

How to authenticate an Azure EventGrid API Connection using a script?

房东的猫 提交于 2020-05-28 06:12:48
问题 I am creating an EventGrid API Connection using an ARM Template. It gets created successfully, however, i still have to authenticate it by hand via Azure Portal. Here is my ARM Template: "resources": [ { "type": "Microsoft.Web/connections", "apiVersion": "2016-06-01", "name": "[parameters('azureEventGridConnectionAPIName')]", "location": "[resourceGroup().location]", "properties": { "api": { "id": "[concat(subscription().id, '/providers/Microsoft.Web/locations/', resourceGroup().location, '

Azure Functions Portal error - The function runtime is unable to start

一个人想着一个人 提交于 2020-05-14 14:43:51
问题 I have a VS 2017 C# developed Azure Function App deployed on the consumption plan using the VS 2017 Publish mechanism. All functions are timer or Service Bus triggered. I see a status of running in the Azure Portal and the functions appear to be working e.g. writing rows to a SQL Azure database, however, I am constantly encountering errors in the Azure Portal when trying to inspect or Monitor the functions e.g. a red error box pops up with the Error : The function runtime is unable to start.

No subscriptions found in the old Azure portal

偶尔善良 提交于 2020-02-24 20:05:47
问题 I am using a visualstudio account in Azure. i have created a new user and given admin access to the active directory to this user. I also added this user as the owner to the subscriptions i had. I now login as this into the new portal. I can see the subscription that i have. However i do not see the icon for Azure ActiveDirectory. Therefore i try to login to the old portal. This time I get stopped by a "No subscriptions found" prompt which does not let me for farther. What is going on? why is

MSBot not responding on on opening the bot. No Welcome messaged received

て烟熏妆下的殇ゞ 提交于 2020-02-14 02:24:12
问题 I have created and deployed bot using a sample bot Welcome-Bot example given in Azure portal docs. This bot shows a welcome message whenever the bot is joined or started. It shows welcome message when I test it on emulator. But when I deploy it to Azure and test in Test Web App chat or Teams it doesn't show me Welcome message. It show me the welcome message when I query something, i.e. it gives two responses : one is the welcome message and other one is the reply of the query asked . 回答1: For

Can I add larger Font text to the markdown widget on https://portal.azure.com dashboard?

断了今生、忘了曾经 提交于 2020-01-25 05:07:27
问题 In https://portal.azure.com I would like to make a dashboard with big labels. The idea is that we'd get the stats on a big TV so we could see the state of our services at a glance. Big labels will make it easier to consume. I'm trying to add larger than h1 font to my markdown tiles but the inline CSS <font size="8">Test env</font> does not parse. Does anyone know how to get this to work or if azure dashboards even support this? Click here to see example of the text size I want (Top label

Where to find the values to subscription id, client id, secret and tenant id?

↘锁芯ラ 提交于 2020-01-16 08:41:49
问题 Actually I am trying to create an infrastructure in azure using terraform so I wanted these keys for programmatic access. 回答1: SubscriptionId and TenantId belongs to your azure subscription which you can either get from azure portal directly or from powershell. ClientId and Client Secret are related to the application registered where you will be providing access[role] to your application to perform certain functionality for you. You can convert the secure string password to plain string as