Hi Team,
I have a transform that I need to place a static value of [email protected] in the userprincipalname and mail field in Active Directory but it is just returning none
. I know it is returning none because there is not an email present but how do I get it to just add the value?
I feel like I am missing one detail?
{
"id": "ed20e510-a79a-45a5-a7d7-a03ce7d3b0e7",
"name": "UPN Transform",
"type": "static",
"attributes": {
"email": {
"type": "firstValid",
"attributes": {
"values": [
{
"attributes": {
"sourceName": "Active Directory",
"attributeName": "mail"
},
"type": "accountAttribute"
},
{
"attributes": {
"sourceName": "Active Directory",
"attributeName": "userPrincipalName"
},
"type": "accountAttribute"
},
{
"attributes": {
"sourceName": "Active Directory",
"attributeName": "sAMAccountName"
},
"type": "accountAttribute"
},
{
"attributes": {
"value": "none"
},
"type": "static"
}
]
}
},
"staticString": {
"type": "static",
"attributes": {
"value": "@domain.com"
}
},
"value": "$email"
},
"internal": false
}