Azure / Azure/azure-quickstart-templates
The latest version of the solution is not compatible with AZURE SQL (PaaS)
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
The following stored procedures have issues with AZURE SQL:
- IndexOptimize
- DatabaseIntegrityCheck
These are pointing to SQL objects that do not exist in Azure, for example:
- sys.dm_os_host_info
- sys.availability_groups
- sys.availability_replicas
- sys.master_files
- dbo.[Queue]
- dbo.QueueDatabase
I temporarily solved my problem by using an old version I have from the year: July 19, 2015.

Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the IndexOptimize and DatabaseIntegrityCheck stored procedures in the repository and compare their referenced SQL objects with those available in Azure SQL. Start by reproducing the failure against Azure SQL and inspect the listed objects, including sys.dm_os_host_info and sys.availability_groups. Done means both procedures run without referencing unavailable objects, with coverage for the affected paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, sql
- Domain
- cloud, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100