title: pyodbc Azure transient error
body: <p>My script is listed below: </p>
  
  <pre><code> import pyodbc
   cnxn = pyodbc.connect(driver=driver,
                           server=server,
                           user=username,
                           database=database,
                           Trusted_Connection='yes', 
                           autocommit = True)
  </code></pre>
  
  <p>However, I got error message: </p>
  
  <pre><code>('HY000', '[HY000] [Microsoft][ODBC Driver 13 for SQL Server]SQL Server Network Interfaces: The Microsoft Online Services Sign-In Assistant encountered an error that might not occur if retried. Possible reasons include a transient network error. [x80048849].  (-2147186615) (SQLDriverConnect)')
  </code></pre>
  
  <p>Anyone has idea? My error came out when I tried to connect to azure. In the error message, it said <strong>retried</strong> may work, but I have tried several times, and I still saw this error. I see most of people have this issue when they run the query. Please feel free to leave your comment. </p>