上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 31 下一页
摘要: 问题描述 如何在中国区获取用户 StrongAuthenticationUserDetails 和 StrongAuthenticationMethods 信息 ? StrongAuthenticationUserDetails :包含有关用户 MFA 设置的信息,例如他们首选的身份验证方法、电话号 阅读全文
posted @ 2023-12-06 21:59 路边两盏灯 阅读(99) 评论(0) 推荐(0)
摘要: 问题描述 在应用中获取存储在Azure Key Vault的机密信息,全部失败。 报错日志内容如下: [reactor-http-epoll-4] [reactor.netty.http.client.HttpClientConnect] [WARN] - [c7a7d27e, L:/xxx.xxx 阅读全文
posted @ 2023-12-05 20:29 路边两盏灯 阅读(143) 评论(0) 推荐(0)
摘要: 问题描述 为应用启用灾备管理,在北三区建立了一个Azure Redis,同时,在东三区也建立了一个同样的Prem级Redis服务。但是在建立灾备(DR:Disease Recovery)时候,却无法选择东三区的资源。 问题解答 目前(2023-12-05),中国Azure的东三区是作为北三区的Ava 阅读全文
posted @ 2023-12-04 20:02 路边两盏灯 阅读(28) 评论(0) 推荐(0)
摘要: 问题描述 在一个App Service中,部署多个应用,每个应用相互独立,类似与IIS中在根目录下创建多个子应用的情况。 问题解答 可以的。通过App Service Configuration页面,添加virtual application,站点链接即对应的virtual path, 在virtu 阅读全文
posted @ 2023-11-30 20:26 路边两盏灯 阅读(29) 评论(0) 推荐(0)
摘要: 问题描述 在Azure Redis的导出页面,突然不能配置Storage Account的SAS作为授权方式。 那么是否可以通过AZ CLI或者是Powershell来实现SAS的配置呢? 问题解答 可以的。使用 az redis export 可以实现 az redis export --cont 阅读全文
posted @ 2023-11-29 22:06 路边两盏灯 阅读(20) 评论(0) 推荐(0)
摘要: 问题描述 在使用Azure Key Vault的过程中,遇见无法获取机密信息,在不方便直接写代码的情况下,快速使用Azure CLI指令来验证当前使用的认证是否可以获取到正确的机密值。 使用CLI的指令为: 第一步:设置azure 的云环境参数,指定为中国区云服务 az cloud set --na 阅读全文
posted @ 2023-11-28 21:09 路边两盏灯 阅读(79) 评论(0) 推荐(0)
摘要: 问题描述 在Function的Code+Test界面进行函数触发可以成功。因为Function为Blob Trigger,当在Blob容器下上传文件后,Function可以被正常触发但是报 outofmemory java heap space的错误 通过日志打印处JVM的内存信息,发现才778MB 阅读全文
posted @ 2023-11-22 21:32 路边两盏灯 阅读(38) 评论(0) 推荐(0)
摘要: 问题描述 使用 .NET Azure.Identity 中的 DefaultAzureCredential 认证并连接到Azure Key Vault中, 在Key Vault 的示例中,并没有介绍如何在代码中设置连接到中国区Azure中。 如果直接运行DefaultAzureCredential, 阅读全文
posted @ 2023-11-20 21:24 路边两盏灯 阅读(93) 评论(0) 推荐(0)
摘要: 问题描述 在APIM Gateway 日志中, 对于发送到APIM Host的请求,只记录了一些常规的URL, Status, Time, IP等信息。关于请求Header, Body中的信息,因为隐私保护的原因,默认没有记录。 [Info] 2023-11-16T06:19:28.482 [Gat 阅读全文
posted @ 2023-11-14 19:39 路边两盏灯 阅读(76) 评论(0) 推荐(0)
摘要: 问题描述 通过.NET Azure Storage Blobs SDK , 获取Blob的MD5值,查看了Azure操作手册中,介绍可以使用 blob.Properties.ContentMD5 属性。 //blob 文件测试 CloudBlobClient blobClient = storage 阅读全文
posted @ 2023-11-13 21:42 路边两盏灯 阅读(31) 评论(0) 推荐(0)
摘要: 问题描述 创建PowerShell Azure Durable Function,执行大量的PowerShell脚本操作Azure Resource,遇见了一个非常非常奇怪的问题: Function 'Hello1 (Activity)' failed with an error. Reason: 阅读全文
posted @ 2023-11-08 21:06 路边两盏灯 阅读(131) 评论(0) 推荐(1)
摘要: 问题描述 是否有直接方法将Azure Key Vault中的机密名称/机密值导出,保存为一个文件呢? 问题解答 Azure Key Vault 没有直接提供Secret 导出文件(如xlsx格式)的方式或者工具。不过可以通过SDK将Secret列举出来并获取到所有的密钥对,保存为所需要的文件格式。在 阅读全文
posted @ 2023-11-07 20:27 路边两盏灯 阅读(38) 评论(0) 推荐(0)
摘要: 问题描述 在使用Terraform创建Function App 后,部署函数时候遇见 ServiceUnavailable (Bad Request -- Encountered an error (ServiceUnavailable) from host runtime.) 问题。 查看Func 阅读全文
posted @ 2023-11-06 20:39 路边两盏灯 阅读(105) 评论(0) 推荐(0)
摘要: 问题描述 Azure Web Job执行Powershell脚本报错 Select-AzContext : The term 'Select-AzContext' is not recognized as the name of a cmdlet, function, script file, or 阅读全文
posted @ 2023-11-02 20:58 路边两盏灯 阅读(43) 评论(0) 推荐(0)
摘要: 问题描述 在Azure Function代码中,有默认的ILogger对象来记录函数的日志,如果函数引用了一些静态对象,是否有办法使用这个默认的ILogger对象来记录日志呢? using System.Net; using Microsoft.Azure.Functions.Worker; usi 阅读全文
posted @ 2023-10-31 20:09 路边两盏灯 阅读(52) 评论(0) 推荐(0)
摘要: 问题描述 当在Azure中创建了一个函数应用(Function App)后,访问默认URL会得到一个默认的页面。是否有办法修改这个默认页面呢? 问题解答 在之前的博文中,介绍了修改App Service的默认页面。 1:【Azure 应用服务】App Service 默认页面暴露Tomcat版本信息 阅读全文
posted @ 2023-10-30 20:01 路边两盏灯 阅读(46) 评论(0) 推荐(1)
摘要: 问题描述 消费型逻辑应用(Consumption Logic App)使用触发器模式消费 Azure Service Bus的消息,当Service Bus中存在大量消息等待消费时,Logic App消费速度太慢,并发数无法满足需求。造成消息积压,有什么办法可以优化吗? 问题解答 在Logic Ap 阅读全文
posted @ 2023-10-25 20:40 路边两盏灯 阅读(40) 评论(0) 推荐(0)
摘要: 问题描述 在App Service中,为App Service配置了访问限制,结果导致在克隆App Service的代码时候,遇见403错误。 问题解答 因为在使用 git clone App Service的应用代码时,使用的URL地址为 https://***.scm.chinacloudsit 阅读全文
posted @ 2023-10-24 20:00 路边两盏灯 阅读(53) 评论(0) 推荐(0)
摘要: 问题描述 在Azure Logic App的官网介绍中,使用SMTP组件发送邮件非常简单(https://docs.azure.cn/zh-cn/connectors/connectors-create-api-smtp#connect-to-smtp)。 本文通过实际操作,配置SMTP,然后设置E 阅读全文
posted @ 2023-10-23 20:37 路边两盏灯 阅读(245) 评论(0) 推荐(2)
摘要: 问题描述 在App Service Linux环境中,如部署Tomcat 应用后,如果访问的页面找不到,应用会返回一个由Azure生成的404页面,那么是否可以修改它呢? PS: 如果是App Service for Windows,可以参考博文 [ App Service for Windows 阅读全文
posted @ 2023-10-18 21:56 路边两盏灯 阅读(54) 评论(0) 推荐(0)
摘要: 问题描述 在Logic App中使用 Outlook.com组件发送邮件,遇见了outlook connection报429的错误 {"error":{"code":"ErrorExceededMessageLimit","message":"Cannot send mail. Daily Mess 阅读全文
posted @ 2023-10-17 21:23 路边两盏灯 阅读(69) 评论(0) 推荐(0)
摘要: APIM Self-hosted gateway : { "statusCode": 404, "message": "Resource not found" } 阅读全文
posted @ 2023-10-16 19:54 路边两盏灯 阅读(73) 评论(0) 推荐(0)
摘要: 问题描述 在App Service上放置一个JS页面并引用msal.min.js,目的是获取AAD用户名并展示。 问题解答 示例代码 <!DOCTYPE html> <html> <head> <title>Azure Service</title> </head> <script type="te 阅读全文
posted @ 2023-10-11 22:17 路边两盏灯 阅读(391) 评论(2) 推荐(2)
摘要: 问题描述 示例调用MSGraph SDK通过User principal name获取到User信息,如Object ID。 参考资料 选择 Microsoft Graph 身份验证提供程序 : https://learn.microsoft.com/zh-cn/graph/sdks/choose- 阅读全文
posted @ 2023-10-10 20:11 路边两盏灯 阅读(164) 评论(0) 推荐(1)
摘要: 问题描述 在Azure Databricks上获取Azure Key Vault中所存储的机密(secret)的两种方式? 问题解答 方式一: 在Databricks的Notebook 中,直接编写Python代码读取Key Vault的Secret 实例代码如下: import os from a 阅读全文
posted @ 2023-10-09 19:40 路边两盏灯 阅读(491) 评论(0) 推荐(2)
摘要: 问题描述 在Azure Logic App中,使用Transform XML组件进行XML内容的转换,但是最近这个组件运行始终失败。 问题解答 点击Transform XML组件上的错误案例,并不能查看到详细的错误消息。 最后在Azure Logic App的产品团队确认下,发现这是Logic Ap 阅读全文
posted @ 2023-10-08 19:31 路边两盏灯 阅读(17) 评论(0) 推荐(1)
摘要: 问题描述 编写Python Function,并且在Function中通过 subprocess 调用powershell.exe 执行 powershell脚本。 import azure.functions as func import logging import subprocess app 阅读全文
posted @ 2023-10-07 20:06 路边两盏灯 阅读(407) 评论(0) 推荐(1)
摘要: 问题描述 在中国区Azure上,创建Container App服务,发现默认的应用程序URL只有前半段,并不是一个完整的域名。这是什么情况呢? 正常的Container App的URL格式为:<container app name>.<environment>.<region>.azureconta 阅读全文
posted @ 2023-10-06 16:16 路边两盏灯 阅读(123) 评论(0) 推荐(0)
摘要: … The Cloud Service, is not in a virtual network, and thus, it cannot be migrated, it is important to understand that if there is no VNET on the current Cloud Service, it is not possible to migrate it. Being in Mooncake, it might have had an extension on that implementation from 2017, but in short, this machine cannot be migrated, and on top of that, its under the Extra small tier, which is no longer supported for CSES. You will need to redeploy 阅读全文
posted @ 2023-09-27 19:55 路边两盏灯 阅读(41) 评论(0) 推荐(0)
摘要: 问题描述 启用App Service Local Git 部署,在Clone 代码库到本地时候,卡在Clone ‘xxxxxx’ ... ... 一动不动的问题? 问题解答 因为Git Clone没有任何日志输出,所以在其他IDE上也尝试Git App Service的代码库。在intellj的gi 阅读全文
posted @ 2023-09-26 20:11 路边两盏灯 阅读(23) 评论(0) 推荐(1)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 31 下一页