Get incorrect api-version value for LogicApp Trigger CallbackUrl through powershell command
Through powershell command Get-AzureRmLogicAppTriggerCallbackUrl, I will get an URL like: https://prod-50.westeurope.logic.azure.com:443/workflows/XXXXXXXXXXXXXX/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=XXXXXXXXXXXXX
but check it in the azure portal, the URL is: https://prod-50.westeurope.logic.azure.com:443/workflows/XXXXXXXXXXXXXX/triggers/manual/paths/invoke?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=XXXXXXXXXXXXX
That is to say, through powershell, the value of api-version is 2016-06-01, but the actual value is 2016-10-01 via azure portal
@pankajsn @daviburg Can you take a look at this issue?
Any feedback on this?
Same issues still exists in AZ PowerShell 1.4.0 Get-AzLogicAppTriggerCallbackUrl
And I think the template version for logic app needs to be added( only version 2016-06-01 is listed in below links). Microsoft.Logic workflows template reference
Howerver, I found four versions up to now in other repository.
azure-resource-manager-schemas

I also have confusion on the version azure/azure-resource-manager-schemas#494
@refortie Can you take a look at this issue?
So I'm not sure what the issue is here. The version in the response for the callback URL is tied to the API version used to call the endpoint. So in the Portal the 2016-10-01 API version is being used, whereas the SDK/PowerShell cmdlet is using 2016-06-01 version.
@refortie thanks for your reply. According to my cognition, after deployment, the logic app trigger callback url(the API version) should be the static whatever tools is used to get it.
similar question https://github.com/MicrosoftDocs/azure-docs/issues/42939