New feature "Invite internal users to B2B collaboration" blocked due to onPremisesUserPrincipalName

%3CLINGO-SUB%20id%3D%22lingo-sub-1386767%22%20slang%3D%22en-US%22%3ENew%20feature%20%22Invite%20internal%20users%20to%20B2B%20collaboration%22%20blocked%20due%20to%20onPremisesUserPrincipalName%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1386767%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EThe%20conversion%20of%20internal%20users%20to%20B2B%20users%20works%20also%20in%20the%20hybrid%20scenario%20according%20to%20the%20article.%20But%20in%20many%20organisations%2C%20the%20onPremisesUserPrincipalName%20is%20filled%20in%20Azure%20AD%20due%20to%20the%20sync.%20The%20conversion%20gets%20blocked%20because%20of%20it.%20Does%20anyone%20know%20why%3F%20What%20makes%20this%20attribute%20special%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EError%20message%20says%3A%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%22code%22%3A%20%22BadRequest%22%2C%3CBR%20%2F%3E%22message%22%3A%20%22The%20user%20can't%20be%20migrated%20to%20external%20user%20as%20the%20user%20object%20has%20value%20assigned%20to%20OnPremisesUserPrincipalName%20property.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThis%20feature%20is%20still%20in%20%3CSTRONG%3Epreview%3C%2FSTRONG%3E%2C%20you%20can%20find%20it%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fb2b%2Finvite-internal-users%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fb2b%2Finvite-internal-users%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1386767%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-1398596%22%20slang%3D%22en-US%22%3ERe%3A%20New%20feature%20%22Invite%20internal%20users%20to%20B2B%20collaboration%22%20blocked%20due%20to%20onPremisesUser%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1398596%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F617876%22%20target%3D%22_blank%22%3E%40SebastianStauber%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehi%20how%20did%20yo%20mange%20to%20%2C%26nbsp%3B%3CSPAN%3Esync%26nbsp%3B%20the%20the%20%E2%80%98%3C%2FSPAN%3E%3CEM%3E%3CSTRONG%3Email%3C%2FSTRONG%3E%3C%2FEM%3E%3CSPAN%3E%E2%80%98%20attribute%26nbsp%3B%20to%20reflect%20the%20users%20foreign%20AAD%20UPN.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E-ibaaa%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415900%22%20slang%3D%22en-US%22%3ERe%3A%20New%20feature%20%22Invite%20internal%20users%20to%20B2B%20collaboration%22%20blocked%20due%20to%20onPremisesUser%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415900%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F671063%22%20target%3D%22_blank%22%3E%40ibaaaa%3C%2FA%3E%26nbsp%3BI%20added%20the%20mail%20to%20otherMails%2C%20this%20then%20allowed%20me%20to%20convert%2C%20but%20hit%20this%20error%20message.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

The conversion of internal users to B2B users works also in the hybrid scenario according to the article. But in many organisations, the onPremisesUserPrincipalName is filled in Azure AD due to the sync. The conversion gets blocked because of it. Does anyone know why? What makes this attribute special?

 

Error message says: 

"code": "BadRequest",
"message": "The user can't be migrated to external user as the user object has value assigned to OnPremisesUserPrincipalName property.

 

This feature is still in preview, you can find it here https://docs.microsoft.com/en-us/azure/active-directory/b2b/invite-internal-users

2 Replies
Highlighted

@SebastianStauber 

 

hi how did yo mange to , sync  the the ‘mail‘ attribute  to reflect the users foreign AAD UPN.

 

-ibaaa

Highlighted

@ibaaaa I added the mail to otherMails, this then allowed me to convert, but hit this error message.