Hello Quin Church,
We understand that you've configured exclude settings for certain instance names, expecting those databases not to appear in the Azure portal. However, despite this configuration, the excluded instances are still showing up.
For at-scale onboarding (via Azure Policy or automatic onboarding), you can exclude specific SQL Server instances by adding their names to the Skip Instances list in the policy or onboarding configuration.
But there is a limitation is that you cannot exclude SQL Server instances or associated services that use pay-as-you-go (PAYG) billing. These will always be indexed and managed because billing enforcement takes precedence.
Reference: Configure SQL Server - SQL Server enabled by Azure Arc | Microsoft Learn
- The ExcludedSqlInstances list is read from the extension’s runtime settings file during onboarding or when the extension restarts.
- If the extension was already running, exclusions won’t apply until the extension is restarted, or a new runtime settings file is created.
- Exclusions only work for named instances matching exactly (case-sensitive).
If you still encountering an issue: please help us with the below details
- Are any of the SQL instances using pay-as-you-go billing?
- Do you have multiple Azure Policies or onboarding configurations that might override the exclusions?
- Has the Azure Arc SQL Server extension been restarted after applying exclusions?
- Is this on Windows or Linux Arc servers? (Linux doesn’t support multiple SQL instances.)
Hope this helps! If you encounter any issues, please reach out to us. Thanks