Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-AzureRmApiManagementSubscription ByProductAndUser #8671

Closed
krispenner opened this issue Mar 4, 2019 · 4 comments
Closed

Get-AzureRmApiManagementSubscription ByProductAndUser #8671

krispenner opened this issue Mar 4, 2019 · 4 comments
Assignees
Labels
API Management feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@krispenner
Copy link

Description of the new feature

Allow specifying both -ProductId and -UserId on the Get-AzureRmApiManagementSubscription cmdlet to return a narrowed list of subscriptions.

@krispenner krispenner added the feature-request This issue requires a new behavior in the product in order be resolved. label Mar 4, 2019
@cormacpayne
Copy link
Member

@solankisamir Hey Samir, would you mind taking a look at this feature request?

@solankisamir
Copy link
Member

ack

@solankisamir
Copy link
Member

This is possible in the REST API. Will work on adding support in Powershell

GET /subscriptions/subid/resourceGroups/rgname/providers/Microsoft.ApiManagement/service/apimServiceName/subscriptions?api-version=2019-01-01&$filter=properties/scope%20eq%20'%2Fproducts%2F551ee9ddbb739f72ec7f0c40'%20and%20properties/ownerId%20eq%20'551ee9debb739f72ec7f0c42' HTTP/1.1
Authorization: Bearer XXXXX
Host: management.azure.com

@solankisamir
Copy link
Member

released - v2.4.0-July2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Management feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
Development

No branches or pull requests

3 participants