private void PatchSpPasswordCredentials(string spObjectId, List<PasswordCredential> passwordCredentials)
{
if (passwordCredentials == null)
{
passwordCredentials = new List<PasswordCredential>();
}
GraphClient.ServicePrincipals.UpdatePasswordCredentials(spObjectId, new PasswordCredentialsUpdateParameters(passwordCredentials));
}