Set Federation Metadata Manifest via dt commandline

Hi There

I’ve been trying to figure out a way to programmatically set the federation metadata via powershell but am getting the following error when it gets passed to the dt command line:

This makes me believe there is something wrong with the JSON I’ve created which is as follows:
[
{
“Id”: “ADFS-Saml2”,
“ProtocolId”: “SAML2”,
“Caption”: “ADFS”,
“AccountAutoCreationMode”: “Open”,
“Properties”:
{
“idpMetadataLocation”: “https://LINK/FederationMetadata.xml

},
"ClaimTypes":
{
    "AccountName": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn"
    
}

}
]

This gets saved to a variable $jsonmetadata which i then convert to JSON using ConvertTo-JSON in powershell.

The commandline I’m using to execute DT is:

& $dtPath setConfigValue /appcs:$ApplicationDatabaseConnectionString /settingID:4f45e647-f3bd-4f9a-9425-0f9cb8cbf584 /value:$json

Has anyone successfully set this property via the commandline?