Thank you for reaching out. The "Could not bind server socket: Operation not permitted" typically indicates that another process is blocking a port that the driver is attempting to use. If AzureAD/OAuth authentication is being used, it is likely that port 33333 is blocked, as this port is used for the OAuth flow. To resolve this, you can kill the process that is blocking this port by running 'sudo lsof -i :33333' from the terminal to find its PID (process ID), and then use the command 'kill -9 <PID>' to stop it, as described in the link below:
https://codinhood.com/nano/macos/find-kill-proccess-port-macos
If the issue continues to persist, however, then the issue is likely caused by Excel not recognizing that the port is open rather than the driver not recognizing this, as the driver's test connection is able to succeed. In this case, it may be better to use Connect Cloud instead of the ODBC driver, which should be able to establish a connection from Azure Analysis Services to Excel and function as an alternative to the ODBC driver. Please find a free, fully functional, 30-day trial of Connect Cloud, along with instructions on how to connect it to Azure Analysis Services and Excel, below.
Trial: https://cloud.cdata.com/auth/sign-up-initial
https://www.cdata.com/cloud/
Azure Analysis Services: https://cloud.cdata.com/docs/AAS.html
Excel: https://cloud.cdata.com/docs/Excel-Desktop.html