Azure / Azure/azure-rest-api-specs

Unable to set owner for servicePrincipals using the az rest

Open
#8,015 3 comments 0 reactions 0 assignees View on GitHub
customer-reported Graph.Microsoft Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

Hi
We want to set owners for ServicePrincipals that we create as part of creating a Resource Groups so that members of the RGAdmins group can take manage of the ServicePrincipals going forward.

Please enable POST for /{tenantID}/servicePrincipals/{objectId}/owners
/{tenantID}/servicePrincipals/{objectId}/owners" , as of now it only supports GET in the
specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json

Thanks

Contributor guide

Open the contributing guide

Research direction

Start with specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json and inspect the existing GET operation for /{tenantID}/servicePrincipals/{objectId}/owners. Compare nearby POST operations and validate the specification after adding the requested operation. Done means the endpoint supports POST as well as GET.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api, authorization
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.