Skip to content

Commit d2b23ae

Browse files
Update cross-tenant-synchronization-configure.md
the command "Disable-MgUserAuthenticationPhoneMethodSmSign" is not correct, replaced with the correct one "Disable-MgUserAuthenticationPhoneMethodSmsSignIn"
1 parent 6265813 commit d2b23ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/active-directory/multi-tenant-organizations/cross-tenant-synchronization-configure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ $smssignin = Get-MgUserAuthenticationPhoneMethod -UserId $userId
511511
if($smssignin.SmsSignInState -eq "ready"){
512512
#### Disable Sms Sign-In for the user is set to ready
513513
514-
Disable-MgUserAuthenticationPhoneMethodSmSign -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId
514+
Disable-MgUserAuthenticationPhoneMethodSmsSignIn -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId
515515
Write-Host "SMS sign-in disabled for the user" -ForegroundColor Green
516516
}
517517
else{

0 commit comments

Comments
 (0)