Skip to content

Fixes 'm365 spo serviceprincipal permissionrequest list' issue #6793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Saurabh7019
Copy link
Contributor

Ensures m365 spo serviceprincipal permissionrequest list returns the correct pending requests. Closes #6788

@Saurabh7019 Saurabh7019 marked this pull request as ready for review July 10, 2025 12:15
@milanholemans
Copy link
Contributor

Thanks @Saurabh7019, we'll try to review it soon.

@Adam-it Adam-it self-assigned this Jul 12, 2025
@Adam-it
Copy link
Member

Adam-it commented Jul 12, 2025

@Saurabh7019 so there is one thing I am not 100% sure is correct here.
The aim of the command is indeed to show the pending requests and when I have some pending requests the command output is correct

image image

But when I have everything approved

image

I would expect the command would return an empty array as I have no pending permission requests but I get the list of all approved requests

image

This behavior seems kind of strange and inconsistent 🤔

@Adam-it Adam-it marked this pull request as draft July 12, 2025 22:17
@Saurabh7019 Saurabh7019 marked this pull request as ready for review July 19, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug report: 'm365 spo serviceprincipal permissionrequest list' returns unexpected results
3 participants