Steps to reproduce the issue
set php ini error_reporting = E_ALL
install joomla using a SQL Server db as the main database
go to "users - manage"
Expected result
users managment console
Actual result
php warning as follow:
Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\joomla7sqlsrv\libraries\joomla\database\query\sqlsrv.php on line 394
System information (as much as possible)
php 7
sqlsrv extension 4.0 non thread safe
IIS 7
joomla 3.6
SQL Server 2014
Additional comments