Skip to content

Commit 16207b6

Browse files
Merge pull request #233029 from ArvindHarinder1/patch-280
Update cross-tenant-synchronization-configure.md
2 parents b0ddd40 + 5470765 commit 16207b6

File tree

1 file changed

+54
-1
lines changed

1 file changed

+54
-1
lines changed

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

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: active-directory
88
ms.workload: identity
99
ms.subservice: multi-tenant-organizations
1010
ms.topic: how-to
11-
ms.date: 03/08/2023
11+
ms.date: 03/31/2023
1212
ms.author: rolyon
1313
ms.custom: it-pro
1414

@@ -481,6 +481,59 @@ Currently, there isn't a way to delete a configuration on the **Configurations**
481481

482482
:::image type="content" source="./media/cross-tenant-synchronization-configure/enterprise-applications-configuration-delete.png" alt-text="Screenshot of the Enterprise applications Properties page showing how to delete a configuration." lightbox="./media/cross-tenant-synchronization-configure/enterprise-applications-configuration-delete.png":::
483483

484+
#### Symptom - Users are skipped because SMS sign-in is enabled on the user
485+
Users are skipped from synchronization. The scoping step includes the following filter with status false: "Filter external users.alternativeSecurityIds EQUALS 'None'"
486+
487+
**Cause**
488+
489+
If SMS sign-in is enabled for a user, they will be skipped by the provisioning service.
490+
491+
**Solution**
492+
493+
Disable SMS Sign-in for the users. The script below shows how you can disable SMS Sign-in using PowerShell.
494+
495+
```
496+
##### Disable SMS Sign-in options for the users
497+
498+
#### Import module
499+
Install-Module Microsoft.Graph.Users.Actions
500+
Install-Module Microsoft.Graph.Identity.SignIns
501+
Import-Module Microsoft.Graph.Users.Actions
502+
503+
Connect-MgGraph -Scopes "User.Read.All", "Group.ReadWrite.All", "UserAuthenticationMethod.Read.All","UserAuthenticationMethod.ReadWrite","UserAuthenticationMethod.ReadWrite.All"
504+
505+
506+
##### The value for phoneAuthenticationMethodId is 3179e48a-750b-4051-897c-87b9720928f7
507+
508+
$phoneAuthenticationMethodId = "3179e48a-750b-4051-897c-87b9720928f7"
509+
510+
#### Get the User Details
511+
512+
$userId = "objectid_of_the_user_in_Azure_AD"
513+
514+
#### validate the value for SmsSignInState
515+
516+
$smssignin = Get-MgUserAuthenticationPhoneMethod -UserId $userId
517+
518+
{
519+
if($smssignin.SmsSignInState -eq "ready"){
520+
#### Disable Sms Sign-In for the user is set to ready
521+
522+
Disable-MgUserAuthenticationPhoneMethodSmSign -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId
523+
Write-Host "SMS sign-in disabled for the user" -ForegroundColor Green
524+
}
525+
else{
526+
Write-Host "SMS sign-in status not set or found for the user " -ForegroundColor Yellow
527+
}
528+
529+
}
530+
531+
532+
533+
##### End the script
534+
```
535+
536+
484537
## Next steps
485538

486539
- [Tutorial: Reporting on automatic user account provisioning](../app-provisioning/check-status-user-account-provisioning.md)

0 commit comments

Comments
 (0)