Hi @ursboller , I managed to init the State SDK and write / read operations with this.
const state = await stateLib.init({ cosmos: { endpoint, masterKey, databaseId, containerId, partitionKey } })
My "endpoint" value is like https://<tenant-name>.documents.azure.com:443.
Do you have the same?