上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 32 下一页
摘要: 问题描述 在使用Azure Key Vault的过程中,遇见无法获取机密信息,在不方便直接写代码的情况下,快速使用Azure CLI指令来验证当前使用的认证是否可以获取到正确的机密值。 使用CLI的指令为: 第一步:设置azure 的云环境参数,指定为中国区云服务 az cloud set --na 阅读全文
posted @ 2023-11-28 21:09 路边两盏灯 阅读(83) 评论(0) 推荐(0)
摘要: 问题描述 在Function的Code+Test界面进行函数触发可以成功。因为Function为Blob Trigger,当在Blob容器下上传文件后,Function可以被正常触发但是报 outofmemory java heap space的错误 通过日志打印处JVM的内存信息,发现才778MB 阅读全文
posted @ 2023-11-22 21:32 路边两盏灯 阅读(53) 评论(0) 推荐(0)
摘要: 问题描述 使用 .NET Azure.Identity 中的 DefaultAzureCredential 认证并连接到Azure Key Vault中, 在Key Vault 的示例中,并没有介绍如何在代码中设置连接到中国区Azure中。 如果直接运行DefaultAzureCredential, 阅读全文
posted @ 2023-11-20 21:24 路边两盏灯 阅读(113) 评论(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 路边两盏灯 阅读(87) 评论(0) 推荐(0)
摘要: 问题描述 通过.NET Azure Storage Blobs SDK , 获取Blob的MD5值,查看了Azure操作手册中,介绍可以使用 blob.Properties.ContentMD5 属性。 //blob 文件测试 CloudBlobClient blobClient = storage 阅读全文
posted @ 2023-11-13 21:42 路边两盏灯 阅读(40) 评论(0) 推荐(0)
摘要: 问题描述 创建PowerShell Azure Durable Function,执行大量的PowerShell脚本操作Azure Resource,遇见了一个非常非常奇怪的问题: Function 'Hello1 (Activity)' failed with an error. Reason: 阅读全文
posted @ 2023-11-08 21:06 路边两盏灯 阅读(149) 评论(0) 推荐(1)
摘要: 问题描述 是否有直接方法将Azure Key Vault中的机密名称/机密值导出,保存为一个文件呢? 问题解答 Azure Key Vault 没有直接提供Secret 导出文件(如xlsx格式)的方式或者工具。不过可以通过SDK将Secret列举出来并获取到所有的密钥对,保存为所需要的文件格式。在 阅读全文
posted @ 2023-11-07 20:27 路边两盏灯 阅读(49) 评论(0) 推荐(0)
摘要: 问题描述 在使用Terraform创建Function App 后,部署函数时候遇见 ServiceUnavailable (Bad Request -- Encountered an error (ServiceUnavailable) from host runtime.) 问题。 查看Func 阅读全文
posted @ 2023-11-06 20:39 路边两盏灯 阅读(123) 评论(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 路边两盏灯 阅读(49) 评论(0) 推荐(0)
摘要: 问题描述 在Azure Function代码中,有默认的ILogger对象来记录函数的日志,如果函数引用了一些静态对象,是否有办法使用这个默认的ILogger对象来记录日志呢? using System.Net; using Microsoft.Azure.Functions.Worker; usi 阅读全文
posted @ 2023-10-31 20:09 路边两盏灯 阅读(62) 评论(0) 推荐(0)
摘要: 问题描述 当在Azure中创建了一个函数应用(Function App)后,访问默认URL会得到一个默认的页面。是否有办法修改这个默认页面呢? 问题解答 在之前的博文中,介绍了修改App Service的默认页面。 1:【Azure 应用服务】App Service 默认页面暴露Tomcat版本信息 阅读全文
posted @ 2023-10-30 20:01 路边两盏灯 阅读(58) 评论(0) 推荐(1)
摘要: 问题描述 消费型逻辑应用(Consumption Logic App)使用触发器模式消费 Azure Service Bus的消息,当Service Bus中存在大量消息等待消费时,Logic App消费速度太慢,并发数无法满足需求。造成消息积压,有什么办法可以优化吗? 问题解答 在Logic Ap 阅读全文
posted @ 2023-10-25 20:40 路边两盏灯 阅读(51) 评论(0) 推荐(0)
摘要: 问题描述 在App Service中,为App Service配置了访问限制,结果导致在克隆App Service的代码时候,遇见403错误。 问题解答 因为在使用 git clone App Service的应用代码时,使用的URL地址为 https://***.scm.chinacloudsit 阅读全文
posted @ 2023-10-24 20:00 路边两盏灯 阅读(66) 评论(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 路边两盏灯 阅读(275) 评论(0) 推荐(2)
摘要: 问题描述 在App Service Linux环境中,如部署Tomcat 应用后,如果访问的页面找不到,应用会返回一个由Azure生成的404页面,那么是否可以修改它呢? PS: 如果是App Service for Windows,可以参考博文 [ App Service for Windows 阅读全文
posted @ 2023-10-18 21:56 路边两盏灯 阅读(68) 评论(0) 推荐(0)
摘要: 问题描述 在Logic App中使用 Outlook.com组件发送邮件,遇见了outlook connection报429的错误 {"error":{"code":"ErrorExceededMessageLimit","message":"Cannot send mail. Daily Mess 阅读全文
posted @ 2023-10-17 21:23 路边两盏灯 阅读(80) 评论(0) 推荐(0)
摘要: APIM Self-hosted gateway : { "statusCode": 404, "message": "Resource not found" } 阅读全文
posted @ 2023-10-16 19:54 路边两盏灯 阅读(84) 评论(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 路边两盏灯 阅读(402) 评论(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 路边两盏灯 阅读(183) 评论(0) 推荐(1)
摘要: 问题描述 在Azure Databricks上获取Azure Key Vault中所存储的机密(secret)的两种方式? 问题解答 方式一: 在Databricks的Notebook 中,直接编写Python代码读取Key Vault的Secret 实例代码如下: import os from a 阅读全文
posted @ 2023-10-09 19:40 路边两盏灯 阅读(515) 评论(0) 推荐(2)
摘要: 问题描述 在Azure Logic App中,使用Transform XML组件进行XML内容的转换,但是最近这个组件运行始终失败。 问题解答 点击Transform XML组件上的错误案例,并不能查看到详细的错误消息。 最后在Azure Logic App的产品团队确认下,发现这是Logic Ap 阅读全文
posted @ 2023-10-08 19:31 路边两盏灯 阅读(24) 评论(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 路边两盏灯 阅读(420) 评论(0) 推荐(1)
摘要: 问题描述 在中国区Azure上,创建Container App服务,发现默认的应用程序URL只有前半段,并不是一个完整的域名。这是什么情况呢? 正常的Container App的URL格式为:<container app name>.<environment>.<region>.azureconta 阅读全文
posted @ 2023-10-06 16:16 路边两盏灯 阅读(147) 评论(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 路边两盏灯 阅读(50) 评论(0) 推荐(0)
摘要: 问题描述 启用App Service Local Git 部署,在Clone 代码库到本地时候,卡在Clone ‘xxxxxx’ ... ... 一动不动的问题? 问题解答 因为Git Clone没有任何日志输出,所以在其他IDE上也尝试Git App Service的代码库。在intellj的gi 阅读全文
posted @ 2023-09-26 20:11 路边两盏灯 阅读(36) 评论(0) 推荐(1)
摘要: "message": "You have exceeded the maximum amount of scale changes within the past hour(23 changes and limit is 20). Please retry later." 阅读全文
posted @ 2023-09-25 19:35 路边两盏灯 阅读(40) 评论(0) 推荐(0)
摘要: 问题描述 询问批量将存储账户中的表嵌入另一个账户中的办法? 问题解答 方式一:使用 AzCopy 使用Az copy做表格的导入导出,注意您需要使用Azcopy 7.3版本来实现对Table的操作,可以选择导出到Blob中,这样导出的数据不会保存在本地,以及该指定支持并发导出。 从表存储导出数据 : 阅读全文
posted @ 2023-09-21 19:49 路边两盏灯 阅读(50) 评论(0) 推荐(0)
摘要: This XML file does not appear to have any style information associated with it. The document tree is shown below. 阅读全文
posted @ 2023-09-19 19:26 路边两盏灯 阅读(539) 评论(0) 推荐(1)
摘要: 问题描述 在Azure Batch的介绍文档中,提出了自动池的概念, 它可以在任务完成后,自动删除Pool资源,详细介绍:https://docs.azure.cn/zh-cn/batch/nodes-and-pools#autopools & https://learn.microsoft.com 阅读全文
posted @ 2023-09-18 21:17 路边两盏灯 阅读(79) 评论(0) 推荐(1)
摘要: cmd /c "echo %date% %time% & set AZ_BATCH & timeout /t 90 > NUL & timeout /nobreak /t 10 & echo 'what is your name?' & echo %date% %time% & for %I in (1,2,3,4,5,6) do echo '%time%' " 阅读全文
posted @ 2023-09-13 15:39 路边两盏灯 阅读(420) 评论(0) 推荐(3)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 32 下一页