title: Sql api is not supported for this database Error
body: <p>I'm trying to execute a query in Cosmo DB Mongo API, using the <a href="https://www.cdata.com/drivers/cosmosdb/" rel="nofollow noreferrer">Cdata</a> ODBC through Python. Below is the driver configuration:</p>
  
  <pre class="lang-sh prettyprint-override"><code>[CData ODBC Driver for Cosmos DB]
  Description=CData ODBC Driver for Cosmos DB 2019
  Driver=/opt/cdata/cdata-odbc-driver-for-cosmosdb/lib/libcosmosdbodbc.x86.so
  UsageCount=1
  Driver64=/opt/cdata/cdata-odbc-driver-for-cosmosdb/lib/libcosmosdbodbc.x64.so
  </code></pre>
  
  <p>This is the code I'm using to make the query:</p>
  
  <pre class="lang-py prettyprint-override"><code>import pyodbc
  
  cnxn = pyodbc.connect("DRIVER={CData ODBC Driver for Cosmos DB};AccountEndpoint=https://[myhost].com:443/;AccountKey=[mypass];")
  cursor = cnxn.cursor()
  
  # Find Schemas
  cursor.tables()
  for (catalog, schema, table, table_type, description) in cursor:
      print("Catalog: {}, Schema: {}, Table: {}, Type: {}".format(
          catalog, schema, table, table_type
      ))
  
  # Execute Query  
  cursor.execute("SELECT luistest from luistest")
  rows = cursor.fetchall()
  for row in rows:
    print(row.luistest)
  </code></pre>
  
  <p>When I execute it, the query of the tables and schemes returns good, but when I consult the documents I receive the following error:</p>
  
  <pre class="lang-py prettyprint-override"><code>Catalog: CData, Schema: luis-test, Table: luistest, Type: TABLE
  Traceback (most recent call last):
    File "mongo_odbc_test.py", line 11, in &lt;module&gt;
      cursor.execute("SELECT luistest from luistest")
  pyodbc.Error: ('HY000', '[HY000] [Forbidden] Sql api is not supported for this database account\r\nActivityId: 66808c80-83b6-4694-99ac-295693b8f51d, Microsoft.Azure.Documents.Common/2.5.1.  (-1) (SQLExecDirectW)')
  </code></pre>
  
  <p>I have a student Azure account, could this affect? Is it possible to make a query without SQL with this tools?</p>
  
  <p>Thanks.</p>