You have to declare the claim in a PersistedClaim element of the Azure AD technical profile (usually used as a validation technical profile) being called by your REST API. E.G. AAD-UserWriteProfileUsingObjectId
---
Please let us know if this answer was helpful to you. If so, please remember to mark it as the answer so that others in the community with similar questions can more easily find a solution.