Open dhiren-singh-007 opened 1 month ago
@dhiren-singh-007 we can get technical user data through connectors only not associated with offers subscription.
@MaximilianHauer @Phil91
@dhiren-singh-007 we can get technical user data through connectors only not associated with offers subscription.
@MaximilianHauer @Phil91
@AnuragNagpure : For 'Own' connector type there is a direct linking of technical user in Connector table (CompanyServiceAccountId). But IMO We can show the technical user for 'MANAGED' connector via linked subscription , But i just found that connector have one to many relation with table ConnectorOfferAssignedSubscription , However when we create MANAGED connector we can only link once with any subscription. So that means in code we can take First record from this table ConnectorOfferAssignedSubscription for specific connector and get technical user for MANAGED connector @MaximilianHauer @Phil91 : Can you please share your thoughts.
API :
GET: /api/administration/connectors/{connectorId}
Current Behavior
For owned connectors there is direct linking of technical user so this api returns the technical user. While for managed connector there is indirect linking of technical user via App/Service subscription and this api don't return the technical user .
Expected Behavior
For managed connector this api should return the technical user as it will be convenient for customer/host to see the Connector technical user in connector details view. It should show the technical user which is created on activation of subscription and used to create the managed connector.
Steps To Reproduce
Owned connector detail view:
Managed connector detail view :