I am trying to create an extension attribute in azure b2c for storing user's dateofBirth using Graph API. Getting below error when trying to use 'date' datatype: Request Body: { "name": "dateOfBirth", "dataType": "date", "targetObjects": ["User"] }
Response:"error": { "code": "Request_BadRequest", "message": "Invalid value specified for property 'dataType' of resource 'ExtensionProperty'.".
Is date not an accepted datatype for extension variables? Is there any alternate way to create extension attribute for custom policy?