I was wondering if I could get some help with this:
I can connect to the Security & Compliance Center without any problems with PowerShell if I follow the "Connect to Security & Compliance Center PowerShell using multi-factor authentication" Microsoft document. However, because the interactive widget is not possible in a runbook, I am not able to connect.
It has been suggested to me to use a certificate for authentication, but I must admit my research on how to do this has not led my anywhere.
Could someone give me a nudge in the right direction on how to connect to the Security & Compliance Center via runbook as after two days of miserably failing to do so I no longer know what to do.