Azure / Azure/azure-cli-extensions

Customer feedback | az datashare share-subscription list-synchronization | command throws API error on GET. POST does work

Open
#8,275 3 comments 0 reactions 0 assignees View on GitHub
bug Data Share extension/datashare Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### Describe the bug

This GitHub issue is being moved from UUF [337828](https://dev.azure.com/msft-skilling/Content/_workitems/edit/337828) and [337831](https://dev.azure.com/msft-skilling/Content/_workitems/edit/337831).
***********************************

## Engineering request
The customer is claiming that this command uses a GET api call which results in an "invalid method" error. When the customer manually changed the API call to POST, it worked. Please confirm that this command works correctly.

## Customer feedback

**Repo:**

azure-docs-cli

**Title:**
az datashare share-subscription list-synchronization | Microsoft Learn

**Verbatim:**
I'll state again. This command appears throws an API error flagging GET as an invalid method. The REST API documentation for this states POST. I tried the API directly and POST does work

Verbatim Id:
****6ee539a0-1f99-ef11-8a6a-6045bd037be1

**Live URL:**
https://learn.microsoft.com/en-us/cli/azure/datashare/share-subscription?view=azure-cli-latest#az-datashare-share-subscription-list-synchronization

**UUF Triage App Feedback URL:**
https://aka.ms/UUFTriageApp?pageviewid=5c6c6452-c937-3646-9734-eeae400e9540

### Related command

az datashare share-subscription list-synchronization

### Errors

Invalid method

### Issue script & Debug output

.

### Expected behavior

.

### Environment Summary

Azure CLI 2.66.0

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.