Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.24k stars 3.84k forks source link

Get-AzApiManagementTenantGitAcces returned /tenant/gitAccess as id and also returned Primary Keys #15898

Closed TonyDou closed 1 year ago

TonyDou commented 3 years ago

Description

Get-AzApiManagementTenantGitAcces starts to return /tenant/gitAccess and primary keys in Az.ApiManagement version 2.3.0 image

Steps to reproduce

  1. make sure Az.ApiManagement is on 2.3.0
  2. Run the following command to see the command is returning /tenant/gitAccess as id and primary keys.
    Get-AzApiManagementTenantGitAccess -Context $APIMContext

Environment data

Module versions

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     2.5.3                 Az.Accounts                         {Add-AzEnvironment, Clear-AzContext, Clear-AzDefa…
Script     2.3.0                 Az.ApiManagement                    {Add-AzApiManagementApiToGateway, Add-AzApiManage…
Manifest   7.0.0.0               Microsoft.PowerShell.Management     {Add-Content, Clear-Content, Clear-Item, Clear-It…
Manifest   7.0.0.0               Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Ob…
Script     2.1.0                 PSReadLine                          {Get-PSReadLineKeyHandler, Get-PSReadLineOption, …

Debug output

Error output

solankisamir commented 3 years ago

Previous return value was image

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @miaojiang.

Issue Details
## Description Get-AzApiManagementTenantGitAcces starts to return /tenant/gitAccess and primary keys in Az.ApiManagement version 2.3.0 ![image](https://user-images.githubusercontent.com/5556990/133848191-b3311d4d-d9b6-4756-8931-0d4ff9054750.png) ## Steps to reproduce 1. make sure Az.ApiManagement is on 2.3.0 2. Run the following command to see the command is returning /tenant/gitAccess as id and primary keys. ```powershell Get-AzApiManagementTenantGitAccess -Context $APIMContext ``` ## Environment data ``` ``` ## Module versions ```powershell ModuleType Version PreRelease Name ExportedCommands ---------- ------- ---------- ---- ---------------- Script 2.5.3 Az.Accounts {Add-AzEnvironment, Clear-AzContext, Clear-AzDefa… Script 2.3.0 Az.ApiManagement {Add-AzApiManagementApiToGateway, Add-AzApiManage… Manifest 7.0.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-Item, Clear-It… Manifest 7.0.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Ob… Script 2.1.0 PSReadLine {Get-PSReadLineKeyHandler, Get-PSReadLineOption, … ``` ## Debug output ``` ``` ## Error output ``` ```
Author: TonyDou
Assignees: KacieKK
Labels: `API Management`, `Service Attention`
Milestone: -
mikebudzynski commented 1 year ago

This issue is resolved in the latest version of the API Management module (4.0.2). If you're still experiencing the problem with the latest version, please open a new issue.