Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

appRoleAssignments is missing from servicePrincipalsWithAppId

Open
#2,418 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
java
Domain
api

Research direction

Start with the ServicePrincipalsWithAppIdRequestBuilder and compare its available methods with the servicePrincipals().byServicePrincipalId() request path, which already exposes appRoleAssignments(). The work is complete when the appId-based builder exposes the same appRoleAssignments() entry point for the documented API route.

Written by the indexing model from the issue text.

Description

status:waiting-for-triage type:feature
Is your feature request related to a problem? Please describe the problem.

The API support both of these:
GET /servicePrincipals/{id}/appRoleAssignments
GET /servicePrincipals(appId='{appId}')/appRoleAssignments

When i do .servicePrincipals().byServicePrincipalId() I can then do .appRoleAssignments().get()
but when I do .servicePrincipalsWithAppId() it does not have the .appRoleAssignments() method.

Describe the solution you'd like.

Add the .appRoleAssignments() method to the ServicePrincipalsWithAppIdRequestBuilder

Additional context?

No response

Dominant language
Java
Stars
444
Forks
154
Avg merge
18h 28m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoftgraph/msgraph-sdk-java

All issues in microsoftgraph/msgraph-sdk-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.