Skip to content

[BUG] New-PnPAzureADGroup returns Object reference not set to an instance of an object with all the required fields. #3305

@Brainless1980

Description

@Brainless1980

Reporting an Issue or Missing Feature

New-PnPAzureADGroup not works as expected.

Expected behavior

New-PnPAzureADGroup -DisplayName a3 -MailNickname a3 -Description a3 should create a group.

Actual behavior

New-PnPAzureADGroup -DisplayName a3 -MailNickname a3 -Description a3 gives the following error:
New-PnPAzureADGroup: Object reference not set to an instance of an object.

Steps to reproduce behavior

Connect-PnPOnline
New-PnPAzureADGroup -DisplayName a3 -MailNickname a3 -Description a3

What is the version of the Cmdlet module you are running?

PnP.PowerShell 2.2.0

Which operating system/environment are you running PnP PowerShell on?

  • Windows

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions