Output messages may differ depending on your setup.
You can use the
diagnose system sdn status command to view the status of your SDN connectors.
You can check if API calls are made successfully by running the following commands in the CLI:
diagnose debug enable
diagnose debug application azd -1
Open the FortiGate GUI in your browser. Try to disable, then enable the SDN connector.
Wait a few minutes. If you did not configure the SDN connector correctly, the CLI displays the following error:
Check the following and see if any required configuration is missing or incorrect:
- Did you enter all required fields such as tenant ID, client ID, client secret, subscription ID, and resource groups without error?
- Create a new client secret, then use the new secret for configuration.
- Does the registered app have access to the resource group?
Once you have successfully configured the SDN connector, the indicator turns green and the CLI output no longer shows an error when enabling and disabling the SDN connector.