Closed andreasjordan closed 3 days ago
@potatoqualitee Is type-extensions.ps1
still used? I have not found a reference in the code and the code inside of that file is not active.
Ok, found the reference and removed it. Let's see if that works...
looks good, thank you
Type of Change
.\tests\manual.pester.ps1
)Part 1: Fix for connections to Azure SQL Database with token
In these connections, the databases part of the SMO is not usable and so it has to be used the ConnectionContext of the server to execute the Query.
Part 2: Better exception message
Old:![image](https://github.com/dataplat/dbatools/assets/66946165/10ef3b21-5f53-4c3b-b167-3f6717712775)
New:![image](https://github.com/dataplat/dbatools/assets/66946165/a0e8141c-90f8-4ffb-abe8-4f14541beb38)