Skip to content
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

Add warning to Get-PnPTenantInfo about required permissions #4473

Conversation

NishkalankBezawada
Copy link
Contributor

@NishkalankBezawada NishkalankBezawada commented Oct 23, 2024

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #X, partially fixes #, mentioned in #4472 and #4353 , etc.

What is in this Pull Request ?

Add a warning to Get-PnPTenantInfo. Currently It just gives 403: Insuffiecient priviledges to complete the operation. So with the change, It specifies the required permissions to be granted on Azure AD App to run this command.

After the change, The command shows a warning as below,

image

Thanks,
Nish

src/Commands/Admin/GetTenantInfo.cs Outdated Show resolved Hide resolved
@gautamdsheth gautamdsheth merged commit 3d6072f into pnp:dev Oct 29, 2024
4 checks passed
@gautamdsheth
Copy link
Collaborator

Thanks @NishkalankBezawada , merged it !!
Much appreciated .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants