04 2022 档案
摘要:问题描述 使用Azure Notification Hub + Baidu 推送遇见的两次报错为: 1. {"request_id":2921358089,"error_code":30602,"error_msg":"request params not valid. parameter user
阅读全文
摘要:问题描述 部署在App Service for Linux环境中的Web App。出现了字体文件缺失的问题,页面显示本来时中文的地方,区别变为方框占位。 问题分析 在应用中,通常涉及到显示问题的有两个方面, 一是乱码:”����Ҫ�¨²�ѧϰ������“ , ”由月è¦�好好å¦
阅读全文
摘要:问题描述 App Service运行过程中,突然出现了 There is not enough space on the disk : 'D:localTempASPNETCORE_xxxxxx-xxxx-xxxx-xxxx-bb51xxxxxxxx.tmp' 问题分析 在云中的App Servic
阅读全文
摘要:问题描述 当一个资源从Azure中删除后,是否有地方可以查看到这些操作的记录呢?如操作人,操作时间等。 问题解答 可以的。通过 Azure订阅页面的活动日志,可以查看所有对订阅下资源的操作记录,包含Delete操作的资源。 登录Portal,选择“订阅”。入口:https://portal.azur
阅读全文
摘要:问题描述 在Azure Alert 门户中,可以列举出所有Azure资源的Alert rule信息,如下图: 如果像通过Python SDK来获取所有的Alert Rule,有什么可以参考的代码吗? 问题分析 由于Azure Alert门户是把所有的资源中配置了Alert Rule都进行了汇总显示,
阅读全文
摘要:问题描述 通过PowerShell 连接到Microsoft Graph 中国区Azure,一直出现AADSTS700016错误, 消息显示 the specific application was not installed in your tenant. 解决办法 根据弹出框中的错误提示, 这是
阅读全文
摘要:问题描述 编写Powershell Function,登录到China Azure并获取Azure AD User信息,但是发现遇见了 [Error] ERROR: ManagedIdentityCredential authentication failed: An unexpected erro
阅读全文
摘要:问题描述 在使用CURL通过REST API获取Azure Key Vaualt的Secrets值,提示Missing Token, 问如何来生成正确的Token呢? # curl 命令 curl -k --request GET -H "Content-type: application/json
阅读全文
摘要:问题描述 使用Azure Event Hub的Java SDK 作为消费端消费消息,集成在项目中后,发现大量日志产生,并且都是Debug 级别日志,如何来关闭这部分日志输出呢? import com.azure.messaging.eventhubs.EventHubClientBuilder; i
阅读全文
摘要:问题描述 怎样关闭Azure Service Fabric服务呢?在Azure门户上没有找到 Stop 按钮。 问题回答 Azure Service Fabric 默认是无法停止的,可以删除。 虽然可以在VMSS(运行Service Fabric的虚拟机集群中停止所有的VM,但是这样做很容易会导致A
阅读全文
摘要:问题描述 Azure Function在执行Function的时候,如果失败了,是否可以重试呢? 问题解答 Function app默认是不开启重试的,但是可以修改 host.json 文件来定义重试策略(retry),具体内容如下: { "retry": { "strategy": "fixedD
阅读全文
摘要:问题描述 为APIM添加AAD Group时候,等待很长很长的时间,结果添加失败。错误消息为: Write Groups ValidationError :Failed to query Azure Active Directory graph due to error: An error occu
阅读全文
【Azure 事件中心】Spring Boot 集成 Event Hub(azure-spring-cloud-stream-binder-eventhubs)指定Partition Key有异常消息
摘要:问题描述 在Spring Boot应用中集成Event Hub,发送消息时指定Partition Key,日志中发现异常: 应用使用Event Hub版本为 <dependency> <groupId>com.azure.spring</groupId> <artifactId>azure-spri
阅读全文
摘要:问题描述 在Azure中国区上面创建一个云服务(外延支持)后,根据官方文档(在云服务(外延支持)中应用 Azure 诊断扩展: https://docs.azure.cn/zh-cn/cloud-services-extended-support/enable-wad),启用了WAD扩展来收集实例的
阅读全文
摘要:问题描述 Service Fabric 在升级 Application 过程中,发布了新的代码后,启动应用中遇见了如下错误: Error message: System.Hosting' reported Error for property 'CodePackageActivation:Code:
阅读全文
摘要:问题描述 为App Service配置了应用服务网关(Application Gateway),并且为Application Gateway配置了自定义域名,通过浏览器访问时,出现域名跳转问题,由自定义域名跳转到App Service的默认域名。 问题解答 应用服务是多租户服务,因此它会使用请求中的
阅读全文