【Azure API 管理】如何修改Azure APIM的管理员邮箱和组织名称
问题描述
当创建一个新的APIM服务时,会要求输入组织名称()和管理员邮箱()。但是当APIM管理员发生变动的时候,如何来修改这些信息呢?
问题解答
在APIM的门户中,APIM的管理员可以通过 “General e-mail settings” 功能对Organization name和 Administrator email 进行修改, 只是这个功能的入口隐藏较深,不易寻找到。可以通过以下步骤完成:
1) 打开Azure APIM的门户:https://portal.azure.cn/#view/HubsExtension/BrowseResource/resourceType/Microsoft.ApiManagement%2Fservice
2) 选择正确的APIM资源,并进入到 Notification Templates页面
3) 选择 "General e-mail settings" 功能,在弹出的页面中,修改 Organization name 和 Administrator Email
附录一:通过REST API修改Admin信息
-
You can also modify these values using the APIM ARM REST API:
API Management Service - Create or Update: -
To make these changes you will supply values for these fields in the REST API call:
properties.publisherEmail properties.publisherName properties.notificationSenderEmail
Examples in the docs: https://docs.microsoft.com/en-us/rest/api/apimanagement/2019-01-01/apimanagementservice/createorupdate#examples
PS: China Azure Azure Management Endpoint is https://management.chinacloudapi.cn
附录二:通过Powershell修改Admin信息
Lastly you can also make these same modification using PowerShell cmdlets. The following script will modify those same values as see in the screenshot above
PS C:\> $apim = Get-AzApiManagement -ResourceGroupName "{ResourceGroupName}" -Name "{APIMServiceName}"
PS C:\> $apim.PublisherEmail = "admin@contoso.com"
PS C:\> $apim.NotificationSenderEmail = "apimgmt-noreply@mail.windowsazure.com"
PS C:\> $apim.OrganizationName = "Contoso"
PS C:\> Set-AzApiManagement -InputObject $apim -PassThru
Set-AzApiManagement: https://docs.microsoft.com/en-us/powershell/module/az.apimanagement/set-azapimanagement?view=azps-2.7.0
Get-AzApiManagement: https://docs.microsoft.com/en-us/powershell/module/az.apimanagement/get-azapimanagement?view=azps-2.7.0
当在复杂的环境中面临问题,格物之道需:浊而静之徐清,安以动之徐生。 云中,恰是如此!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
2021-08-30 【Azure 媒体服务】Azure Media Service Explorer 5.4.3.0 不能连接Media Service, 错误消息提示 BadRequest 和 Forbidden
2021-08-30 【Azure 应用服务】VS2019发布应用到正在运行的App Service时失败问题的解决