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
Same code in Azure Function cause error " The collection has not been initialized. It has not been requested or the request has not been executed."
#2676
The code: Set-PnPListItem -Connection $appConn -List $sitesList -Identity $item.ID -Values @{ "LastMaintenance" = $loopEndUTCtime ; }
works fine with 1.12.0 on my PC
but when running as Azure Function it errors:
"The collection has not been initialized. It has not been requested or the request has not been executed."
What could be the issue?
Thank you
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The code:
Set-PnPListItem -Connection $appConn -List $sitesList -Identity $item.ID -Values @{ "LastMaintenance" = $loopEndUTCtime ; }
works fine with 1.12.0 on my PC
but when running as Azure Function it errors:
"The collection has not been initialized. It has not been requested or the request has not been executed."
What could be the issue?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions