question

MuhammadUsmanshaikh-5935 avatar image
0 Votes"
MuhammadUsmanshaikh-5935 asked WojciechPoniatowski-2642 commented

Azure AD B2C: ObjectID insertion on create user

Hi,

doing migration from my identity server to azure ad b2c, but want to keep my identity server unique id into ObjectID attribute of azure ad b2c

can this be possible from microsoft graph api create request?

azure-ad-b2c
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

any one can tell this?

0 Votes 0 ·

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered WojciechPoniatowski-2642 commented

Hi @MuhammadUsmanshaikh-5935 ·

Users' Object IDs are immutable and read only, which means it can only be generated and assigned by B2C. You can not predefine/set/change it.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

What is the scope of Object ID uniqness? Tenant? Data center? Whole world?
I'm looking for soluton (attribute from Azure AD B2C user) that should be used by applications (service providers) to match/link Azure AD B2C identity and my application user profile.

ex: when user decide to change his phone or email that is used to login. After change it should still return same identity. Is Object ID good for that?

Extra case: what will happend to Object ID during disaster recovery? Will Object ID stay same to same users? Or new Object ID will be generated?

0 Votes 0 ·