Skip to content

Conversation

@santhosh-7777
Copy link
Contributor

@santhosh-7777 santhosh-7777 commented Oct 8, 2025

This pull request adds a Permissions section for all m365 entra user commands:

  • m365 entra user add
  • m365 entra user get
  • m365 entra user hibp
  • m365 entra user list
  • m365 entra user remove
  • m365 entra user set

Sections are placed above the Examples section, include only supported auth types (Delegated and Application where applicable), and follow the existing docs formatting style.
order of Resources is alphabetical where multiple resources are present.


Closes #6952

@santhosh-7777
Copy link
Contributor Author

@milanholemans I’ve added a Permissions section for all M365 Entra user commands in this PR: #6973.
The changes include minimal permissions details, follow the existing docs formatting, and have passed all checks.

Could you please review it when you get a chance?

@milanholemans
Copy link
Contributor

We'll try to review it ASAP! Thx

@milanholemans milanholemans requested a review from Copilot October 9, 2025 16:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds comprehensive Permissions sections to all m365 entra user commands documentation, standardizing the format to include both Delegated and Application permission types where applicable. The change enhances the documentation by clearly specifying the Microsoft Graph permissions required for each command.

Key changes:

  • Added Permissions sections for all six m365 entra user commands
  • Used special formatting for the user-hibp command since it uses Have I Been Pwned API instead of Microsoft Graph
  • Maintained consistent table format with permission types and required permissions

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docs/docs/cmd/entra/user/user-add.mdx Added permissions table for user creation (User.ReadWrite.All)
docs/docs/cmd/entra/user/user-get.mdx Added permissions table for user retrieval (User.Read.All)
docs/docs/cmd/entra/user/user-hibp.mdx Added special permissions note for Have I Been Pwned API usage
docs/docs/cmd/entra/user/user-list.mdx Added permissions table for user listing (User.Read.All, Directory.Read.All)
docs/docs/cmd/entra/user/user-remove.mdx Added permissions table for user deletion (User.ReadWrite.All)
docs/docs/cmd/entra/user/user-set.mdx Added permissions table for user updates (User.ReadWrite.All, Directory.Read.All)
docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx Added permissions with tabbed format for enterprise app creation
docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx Added permissions with tabbed format for enterprise app retrieval
docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx Added permissions with tabbed format for enterprise app listing
docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx Added permissions with tabbed format for enterprise app deletion

Copy link
Contributor

@milanholemans milanholemans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just did a quick global review and noticed that you started great by adding the permissions table, but suddenly you changed the entire layout of the permissions table halfway. Is there a reason why you did this?
Please follow the instructions in the issue carefully.

@milanholemans milanholemans marked this pull request as draft October 9, 2025 16:03
@santhosh-7777 santhosh-7777 marked this pull request as ready for review October 9, 2025 16:39
@milanholemans
Copy link
Contributor

@santhosh-7777, the tables are still not aligned. Please check the resources listed in the issue to properly create a permissions table.

@milanholemans milanholemans marked this pull request as draft October 9, 2025 22:57
@santhosh-7777 santhosh-7777 marked this pull request as ready for review October 10, 2025 03:30
@santhosh-7777
Copy link
Contributor Author

@milanholemans i have aligned properly for all .please review it?

@milanholemans
Copy link
Contributor

The permission section still doesn't comply with the instructions that are listed in the issue. For the last time, please carefully read the resources listed in the issue and align this PR accordingly. Some document pages are compliant, but most are not.

@milanholemans milanholemans marked this pull request as draft October 10, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minimal permissions for 'entra user' commands

2 participants