Looking for something similar in C#
$AzAccount = Login-AzureRmAccount -Credential $SPOAdminCredentials $clientId = (Get-AzureKeyVaultSecret -vaultName $KeyVaultName -