For some reason, this is an issue that seems to be on my computer only as it works fine for my collegue, but Connect-PnPOnline no longer caches anything when using -UseWebLogin. Subsequent calls to Connect-PnPOnline prompts every single time as if there was no cache at all, while it works fine for my collegue.
From what I understand, it caches credentials using cookies so I double checked my browser settings (Edge & Chrome) and everything seems fine, not sure where else I should check?
Reporting an Issue or Missing Feature
Issue
Expected behavior
I expect the code below to prompt me once, as the second command should use the cached credentials from the first command:
For some reason, this is an issue that seems to be on my computer only as it works fine for my collegue, but Connect-PnPOnline no longer caches anything when using -UseWebLogin. Subsequent calls to Connect-PnPOnline prompts every single time as if there was no cache at all, while it works fine for my collegue.
From what I understand, it caches credentials using cookies so I double checked my browser settings (Edge & Chrome) and everything seems fine, not sure where else I should check?
Reporting an Issue or Missing Feature
Issue
Expected behavior
I expect the code below to prompt me once, as the second command should use the cached credentials from the first command:
Actual behavior
I get prompted every single time.
Steps to reproduce behavior
Unable to reproduce, my collegue has the same PowerShell version (7.4.5), same module version (2.12.0) and gets prompted every time.
What is the version of the Cmdlet module you are running?
2.12.0
Which operating system/environment are you running PnP PowerShell on?