question

MuhammadUsmanIrshad-1214 avatar image
0 Votes"
MuhammadUsmanIrshad-1214 asked RakeshJagatap-4451 commented

Edit profile image on profile edit custom policy

I am trying to change or upload a user profile while signup or profile update in azure active directory b2c using custom policy. I found a "thumbnailPhoto" property having datatype Edm.Stream by using this I am trying to create a custom ClaimType like this. but it's not working please help in changing user profile through custom policy

 <ClaimType Id="thumbnailPhoto">
         <DisplayName>ProfilePicture</DisplayName>
         <DataType>stream</DataType>
         <UserHelpText>Upload profile picture</UserHelpText>
       </ClaimType>


123545-property.png123611-profilepic.png


azure-ad-b2c
property.png (59.3 KiB)
profilepic.png (69.5 KiB)
· 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, if the posted answer resolves your question, please mark it as the answer by clicking the check mark. Doing so helps others find answers to their questions.

0 Votes 0 ·

1 Answer

JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered
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.