Azure / Azure/api-management-developer-portal

Policy subscription attributes and Portal subscription field names do not match

Open
#2,081 3 comments 0 reactions 0 assignees View on GitHub
(t) Support
Dominant language
TypeScript
Stars
545
Forks
360
PR merge metrics
No merged PRs in 30d

Description

Hi,

Not sure if it is a bug as it is more a descriptive issue...
In the API Management Policies we can reference the context subscription which provides the following:

![image](https://user-images.githubusercontent.com/7131064/216070094-017cffd0-6239-4451-91b2-2a2d4adf9bd1.png)

All work as intended however, when selected the detailed view of a subscription (key) in the portal the following fields are displayed:

![image](https://user-images.githubusercontent.com/7131064/216070843-e77e7aa9-02c6-4ade-b2a5-47dcbc27a5e2.png)

When referencing the subscription name in xml it is `context.Subscription.Name` but corresponds to the display name in the portal (not the Name field). Perhaps it would be better to keep the field names in line with the policy description

kind regards

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the subscription attribute names exposed in API Management policies with the fields shown in the portal's subscription detail view. Confirm the intended naming and update the relevant portal labels or mapping so the policy and portal names correspond; done means the displayed fields and XML references are consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.