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

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed the required permissions attribute to use Delegated or Applic…
…ation Permissions
  • Loading branch information
NishkalankBezawada committed Oct 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 120ec7f4248eff3686019a478cc3fd9423583e8c
2 changes: 1 addition & 1 deletion src/Commands/Admin/GetTenantInfo.cs
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPTenantInfo")]
[RequiredApiApplicationPermissions("graph/CrossTenantInformation.ReadBasic.All")]
[RequiredApiDelegatedOrApplicationPermissions("graph/CrossTenantInformation.ReadBasic.All")]
[OutputType(typeof(Model.TenantInfo))]
public class GetTenantInfo : PnPAdminCmdlet
{
Loading