Not getting access with newly created user in cosmosdb for mongodb

Sanjay Mange 0 Reputation points
2024-05-14T11:18:05.34+00:00

I have created user in consmosdb for mongodb api with built-in role but while accessing with newly created user getting Error: invalid salt length provided

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,470 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 13,996 Reputation points Microsoft Employee
    2024-05-15T03:55:53.0266667+00:00

    Hi Sanjay Mange •,

    Welcome to Microsoft Q&A forum.

    As I understand, you are not getting access to Azure Cosmos DB with a newly created user.

    Could you please let us know how new created was created? via Portal/CLI/Powershell/Code, Network configuration of your Cosmos Account?

    You may refer here: https://stackoverflow.com/questions/77125681/php-laravel-mongodb-scram-failure-invalid-salt-length-of-16-in-sasl-step2

    I would recommend you to please file a support ticket for deeper investigation and in case if you don't have a support plan, do let us know here so that we can check on other options to unblock you.

    Thanks

    0 comments No comments