OK, I admit, I am behind the curve. I have been using PowerShell and getting my commands to work as a sysadmin for some time, and things were fine. Now I am learning that the latest is PowerShell 7 and PowerShell graph andmy connections are not working anymore, and I am continuing to fail back to PowerShell 5 which works, but i am told is being deprecated, so I would like to get this to work.
So Assuming that I am on a bran new system, and I want to log into my Azure AD to GET and SET some attributes.
- I install powershell 7
- install-module azureAD
- import-module azureAD
- Connect-azureAD - but I am getting an error in this most basic step (Could not load type 'System.Security.Cryptography.SHA256Cng')
Could someone please explain to me as if i we a young child on how to make the new connections to Azure AD.
What am I missing, why does something that was so easy now have to be so hard??
And related, what about MS graph??? Is this just a Powershell web gui (is this command line or not) with more Secuity? I am trying to read some of the documentation but I just don't get it. How would I do the same thing above, but with MS graph?