Appologies, I know a thread about this existed, but a prompt said it was solved and to open a new one.
I upgraded from v4 to v5.0.8 and I am seeing this issue with with PowerShell 5.1.
All of my script now thorw out the same error Could not load file or assembly
. It also throws out errors that the module aren’t loaded, no matter if I set the environment to load all modules or import-module, The specified module 'Microsoft.Graph' was not loaded because no valid module file was found in any module directory
Initially after the uprage I had some old PowerShell Environment. I deleted all of these and did the auto detect, so now I have a PowerSheel 5 with the path of “Windows PowerShell 5.1” and it is stil lthrowing the same error.
Is there anything else I can do to get these scripts working again?