Closed aubreyyan closed 2 years ago
Update: Someone came up with a solution on stack overflow: https://stackoverflow.com/a/62381496/8652920
Wrt next steps, if this isn't just a localized problem that I'm facing, it would be helpful to update the "Add a user" documentation that was linked initially.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @miaojiang.
API management team, please help to look into this question.
@aubrey-y Apologies for the delayed response. I see that this issue is opened long time ago and no further activity had taken place. So wanted to check if you are still looking for assistance on this query? Please let us know .
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!
@aubrey-y Apologies for the delayed response. I see that this issue is opened long time ago and no further activity had taken place. So wanted to check if you are still looking for assistance on this query? Please let us know .
your documentation is inaccurate, see the stack overflow post
@aubrey-y Apologies for the late reply. Thanks for raising this issue. We have filed a PR #17149 to include an example as mentioned in your comment. In the meantime, if you have any questions on this, do let us know. We could be happy to help. Awaiting your reply.
Description
I have been trying to automate this sample script in Azure Functions but am running into an error at the
Get-AzApiManagementProduct
step.Here is the specific error:
Steps to reproduce
I did the following things in Azure:
Provisioned Azure API Management instance
Created service principal following this video https://www.youtube.com/watch?v=Hg-YsUITnck
Ran the following Azure PS scripts in accordance with the aforementioned sample script step by step, with the goal of creating an api management user and returning the user's new subscription key via Azure Functions. Unfortunately, the error surrounding
Get-AzApiManagementProduct
I'm getting makes that impossible because the broken output trickles down intowhich breaks because
$product
is empty.*Video of me trying the full Azure Function in my repository
Environment data
Module versions
Debug output
Error output