Hi @DakotaM ,
Thanks for the post! You are correct that if you are looking to pre-configure authentication methods in bulk, you can use the Microsoft.Graph PowerShell Module to update the authentication method and then use a foreach loop to update in bulk. I don't think there is a way to avoid using a CSV file since you will need that to include all of the authentication details.
The documentation has an example here for pre-populating the authentication data:
Connect-MgGraph -Scopes "User.ReadWrite.All"
Update-MgUser -UserId 'user@domain.com' -otherMails @("emails@domain.com")
Update-MgUser -UserId 'user@domain.com' -mobilePhone "+1 4251234567"
Update-MgUser -UserId 'user@domain.com' -businessPhones "+1 4252345678"
Update-MgUser -UserId 'user@domain.com' -otherMails @("emails@domain.com") -mobilePhone "+1 4251234567" -businessPhones "+1 4252345678"
There are also several sample scripts shared in blogs and on Technet for achieving the same goal.
Let me know if you have further questions or if you are facing a particular issue with the method you are using.
-
If the information helped you, please Accept the answer. This will help us and other community members as well.