Symptom
Due to security changes being implemented in November 2025, Snowflake are no longer accepting single factor password sign-ins. user/password authentication for service accounts.
Environment
- SAP Analytics Cloud
- Cloud Agent version >= 1.0.441
Reproducing the Issue
- Login to SAP Analytics Cloud.
- Navigate to Connections in SAP Analytics Cloud.
- Click on the "+" icon to create a new connection.
- Choose SQL Databases.
- Select a pre-configured Location ID and choose "Snowflake" as the Connection Type.
- Click OK.
- Fill the necessary details.
- Click on Create.
>> Observe the error: "Unable to connect to data source. Check your connection details then try again."
Cause
User-password authentication is no longer supported by Snowflake, due to security changes being implemented: Snowflake Will Block Single-Factor Password Authentication
Resolution
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental
Prerequisites:
- Cloud Agent version >= 1.0.441
- Keypair authentication method requires, as a minimum, a 2048-bit RSA key pair.
- OpenSSL
- Open Terminal window
- Generate a Private Key:
openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out rsa_key.p8 -nocrypt - Generate Public Key:
openssl rsa -in rsa_key.p8 -pubout -out rsa_key.pub - Assign the public key (found in the rsa_key.pub) to a Snowflake user
ALTER USER example_user SET RSA_PUBLIC_KEY='MIIBIjANBgkqh...'; - Transfer the private key file to the SAC Agent system in the same directory as the driverconfig.properties file.
- Restart SAC Agent
- Update the existing Snowflake Connection:
Go into existing Snowflake Connections and update the connection with the private_key_file jdbc attribute in the Warehouse input area. - Make sure the Username contains the user assigned to the public key
- Leave the password blank and Save the connection.
See Also
Blog on how to update the connection in SAC:
Snowflake Documentation on Key-Pair Auth:
Keywords
SAP Analytics Cloud, SAC, connection, Snowflake, SQL Databases, create connection, unable to connect, connection error, data source error, Location ID, new connection, login, connection details, troubleshooting, connectivity, integration , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , How To
Product
Attachments
| Pasted image.png |
| Pasted image.png |
| Pasted image.png |
SAP Knowledge Base Article - Public