UseRidAsPk Parameter (Connect-CosmosDB Cmdlet)
Set this property to false to switch using the id column as primary key instead the default _rid.
Syntax
Connect-CosmosDB -UseRidAsPk bool
Data Type
bool
Default Value
true
Remarks
Since CosmosDB allows you to use both _rid and id fields as unique values for retrieving resource data, you can set this property to false to switch using the id column as primary key instead the default _rid.