The object is used in the context different from the one associated with the object
Get Field names from a list Today I tried to load the Fields from a list using PnP PowerShell and CSOM. $ctx = Get-PnPContext $list = Get-PnPList -Web $web -Identity … read the the-object-is-used-in-the-context post