You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Get-PnPUser -WithRightsAssignedDetailed - The property or field 'Email' has not been initialized #5477
Error message:
Get-PnPUser: The property or field 'Email' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
Get-PnPException:
Message : The property or field 'Email' has not been initialized. It has not been requested or the request has not been executed. It may need to be
explicitly requested.
Stacktrace : at PnP.PowerShell.Commands.Base.PnPConnectedCmdlet.ProcessRecord() in D:\a\powershell\powershell\src\Commands\Base\PnPConnectedCmdlet.cs:line
104
at PnP.PowerShell.Commands.PnPSharePointCmdlet.ProcessRecord() in D:\a\powershell\powershell\src\Commands\Base\PnPSharePointCmdlet.cs:line 165
at System.Management.Automation.CommandProcessor.ProcessRecord()
ScriptLineNumber : 1
This is likely due to data from outdated objects, as the error does not occur on all pages. However, in this case, the module should continue to operate stably and simply ignore the faulty entries instead of failing to provide any data.
What is the version of the Cmdlet module you are running?
PnP.Powershell 3.4.1 and 2.12.0
Which operating system/environment are you running PnP PowerShell on?
Activity