If the Add button for State Configuration (DSC) in Azure Automation is disabled, it could be due to a few reasons:
- Permissions: Ensure that you have the necessary permissions to add configurations in the Azure Automation account. You may need to be an owner or contributor on the Automation account.
- Service Retirement: Be aware that Azure Automation State Configuration will be retired on September 30, 2027. If you are trying to use features that are being phased out, this might affect your ability to add new configurations. It is recommended to transition to Azure Machine Configuration by that date.
- Portal Changes: The Add link for configurations will be removed from the portal on March 31, 2025. If you are using an older version of the portal or if there are ongoing updates, this might impact the availability of certain features.
- Service Issues: There could be temporary service issues or outages affecting the Azure Automation service. Check the Azure status page for any ongoing incidents.
If none of these reasons apply, consider reaching out to Azure support for further assistance.