SOLVED
Home

Create Guest User - Source Authority OTP instead of Microsoft Account for gmail.com user

%3CLINGO-SUB%20id%3D%22lingo-sub-833434%22%20slang%3D%22en-US%22%3ECreate%20Guest%20User%20-%20Source%20Authority%20OTP%20instead%20of%20Microsoft%20Account%20for%20gmail.com%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-833434%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20requirement%20to%20invite%20and%20onboard%20the%20external%20users%26nbsp%3B%20(gmail.com%20domain)%20into%20the%20AAD.%20I%20have%20used%20the%20PowerShell%20script%20to%20achieve%20this.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENew-AzureADMSInvitation%20-InvitedUserEmailAddress%20%24userEmailID%20-SendInvitationMessage%20%24True%20-InviteRedirectUrl%20%24userLandingSiteURL%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1)%20I%20see%20that%20Source%20authority%20column%20is%20set%20as%20%22Invited%20User%22%20when%20the%20invite%20is%20sent%20to%20external%20user%3C%2FP%3E%3CP%3E2)%20When%20the%20external%20user%20accepted%20the%20invite%2C%20Source%20field%20status%20is%20changed%20to%20%22OTP%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20my%20knowledge%2C%20this%20should%20be%20set%20to%20Microsoft%20Account%20instead%20of%20OTP%20-%20Can%20anyone%20tell%20me%20if%20i%20have%20to%20add%20any%20switch%2Fattribute%20while%20inviting%20any%20guest%20user%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20%26amp%3B%20Regards%2C%3C%2FP%3E%3CP%3EBhanu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-833434%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20AD%20B2B%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-834238%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20Guest%20User%20-%20Source%20Authority%20OTP%20instead%20of%20Microsoft%20Account%20for%20gmail.com%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-834238%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20issue%20is%20being%20resolved.%20This%20is%20due%20to%20the%20new%20preview%20feature%20of%20OTP%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fb2b%2Fone-time-passcode%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fb2b%2Fone-time-passcode%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20just%20have%20to%20disable%20that%20setting%20in%20Azure%20Portal.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CH3%20id%3D%22toc-hId-1622709406%22%20id%3D%22toc-hId-1622709406%22%3ETo%20opt%20out%20using%20the%20Azure%20AD%20portal%3C%2FH3%3E%3COL%3E%3CLI%3ESign%20in%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20portal%3C%2FA%3E%20as%20an%20Azure%20AD%20global%20administrator.%3C%2FLI%3E%3CLI%3EIn%20the%20navigation%20pane%2C%20select%20%3CSTRONG%3EAzure%20Active%20Directory%3C%2FSTRONG%3E.%3C%2FLI%3E%3CLI%3EUnder%20%3CSTRONG%3EManage%3C%2FSTRONG%3E%2C%20select%20%3CSTRONG%3EOrganizational%20Relationships%3C%2FSTRONG%3E.%3C%2FLI%3E%3CLI%3ESelect%20%3CSTRONG%3ESettings%3C%2FSTRONG%3E.%3C%2FLI%3E%3CLI%3EUnder%20%3CSTRONG%3EEnable%20Email%20One-Time%20Passcode%20for%20guests%20(Preview)%3C%2FSTRONG%3E%2C%20select%20%3CSTRONG%3ENo%3C%2FSTRONG%3E.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20%26amp%3B%20Regards%2C%3C%2FP%3E%3CP%3EBhanu%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Hello Everyone,

 

I have a requirement to invite and onboard the external users  (gmail.com domain) into the AAD. I have used the PowerShell script to achieve this. 

 

New-AzureADMSInvitation -InvitedUserEmailAddress $userEmailID -SendInvitationMessage $True -InviteRedirectUrl $userLandingSiteURL

 

1) I see that Source authority column is set as "Invited User" when the invite is sent to external user

2) When the external user accepted the invite, Source field status is changed to "OTP"

 

To my knowledge, this should be set to Microsoft Account instead of OTP - Can anyone tell me if i have to add any switch/attribute while inviting any guest user?

 

Thanks & Regards,

Bhanu

1 Reply
Solution

Hello Everyone,

 

This issue is being resolved. This is due to the new preview feature of OTP - https://docs.microsoft.com/en-us/azure/active-directory/b2b/one-time-passcode

 

We just have to disable that setting in Azure Portal.

 

To opt out using the Azure AD portal

  1. Sign in to the Azure portal as an Azure AD global administrator.
  2. In the navigation pane, select Azure Active Directory.
  3. Under Manage, select Organizational Relationships.
  4. Select Settings.
  5. Under Enable Email One-Time Passcode for guests (Preview), select No.

 

Thanks & Regards,

Bhanu

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies