The credentials we have in source control is OAuth2. When deploying this model this code "carries on" the encrypt connection flag and authentication kind from the source code.
Without this processing of the AAS model fails with the message
"message": "An error occurred during On-Premise Gateway related activity. Additional error details: DM_GWPipeline_Gateway_MashupDataAccessError\r\nReceived error payload from gateway service with ID *: MashupException encountered while accessing the target data source..\r\nMashupException encountered while accessing the target data source.\r\nThe given credential contains a property with a null value. Data source kind: SQL. Property name: EncryptConnection**. \r\n.",
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The credentials we have in source control is OAuth2. When deploying this model this code "carries on" the encrypt connection flag and authentication kind from the source code.
$credential.credential.EncryptConnection = $dataSource.credential.EncryptConnection $credential.credential.AuthenticationKind = $dataSource.credential.AuthenticationKind
But we need it to be changed to:
"AuthenticationKind": "UsernamePassword" "EncryptConnection": true
Without this processing of the AAS model fails with the message
"message": "An error occurred during On-Premise Gateway related activity. Additional error details: DM_GWPipeline_Gateway_MashupDataAccessError\r\nReceived error payload from gateway service with ID *: MashupException encountered while accessing the target data source..\r\nMashupException encountered while accessing the target data source.\r\nThe given credential contains a property with a null value. Data source kind: SQL. Property name: EncryptConnection**. \r\n.",