Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
487 stars 317 forks source link

"New subscription requested notification" email portal link doesn't work #1565

Closed nosvalds closed 6 months ago

nosvalds commented 2 years ago

Bug description

When a user signs up for a Subscription that requires approval, an email is sent to an admin email. In this email there is a link to the portal so the admin can approve the subscription.

Currently that link looks to be pointed to Products instead of Subscriptions in the Portal. It also just takes me (after a bunch of redirects) to my default dashboard if I were to navigate to https://portal.azure.com. So it seems to be broken.

Screenshot 2021-12-09 at 17 16 22

Current link: https://portal.azure.com/#/resource//subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.ApiManagement/service/{apim name}/apim-products

Link that actually takes me to Subscriptions in APIM: https://portal.azure.com/#@{AD domain}/resource/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.ApiManagement/service/{apim name}/apim-subscriptions

Reproduction steps

  1. As a API User, request a Subscription that requires admin approval
  2. As an admin receiving the email, click on the link in the email

Expected behavior

As an admin receiving the email, I would expect that link to take me to the Subscriptions page in the APIM instance where I can approve the Subscription request. Ideally with "Pending approval" selected.

Screenshot 2021-12-09 at 17 12 12

Is your portal managed or self-hosted?

Managed

API Management service name

apim-iati-PROD

Environment

ghost commented 2 years ago

@nosvalds, thank you for opening this issue. Due to the winter holidays season, it may take us longer than a few days to respond to it. If the issue is urgent, please contact Azure support.

ghost commented 2 years ago

@nosvalds, thank you for reporting the bug.

bytepl commented 2 years ago

Hi! We have the same problem, this URL is not valid. Any chance this will be fixed soon?

erwinkramer commented 2 years ago

Same here, also it would be nice to customize this as a template, i see no option for that now under Microsoft.ApiManagement/service/templates

mrcarlosdev commented 6 months ago

This issue is related to managed developer portal. We advise you to create a Azure support request to get assistance on this issue. Please refer to the below link to create a new Azure support request, Please select Problem Type = "Developer Portal" in the request to route it appropriately.

https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request