Azure / azure-resource-manager-schemas

Schemas used to author and validate Resource Manager Templates. These schemas power the intellisense and syntax completion in our ARM Tools VSCode extension, as well as the Export Template API
MIT License
611 stars 517 forks source link

Event subscription storage queue ARM #983

Open mardessi opened 4 years ago

mardessi commented 4 years ago
"resources": [
    {
        "name": "[concat(parameters('eventGridTopicName'), '/Microsoft.EventGrid/', parameters('eventGridSubscriptionName'))]",
        "type": "Microsoft.EventGrid/topics/providers/eventSubscriptions",
        "location": "France central",
        "apiVersion": "2018-01-01",
        "properties": {
            "destination": {
                "endpointType": "StorageQueue",
                "properties": {                 
                    "resourceId": "/subscriptions/57a94d8d-cece-4585-af8a-e0660dd3eeac/resourceGroups/APP-Integration-InterfaceEchange-RG/providers/Microsoft.Storage/storageAccounts/storageaccounttestinteg",
                    "queueName":"testqueueintg"                     
                }
            },
    "filter": {
        "advancedFilters": []
    },
    "labels": [],
    "eventDeliverySchema": "EventGridSchema"
    }
    }
]

when excute my script shell to deploy the template ARM to azure i have this error and i search in documentation i didn't found anything !

Resource Microsoft.EventGrid/topics/providers/eventSubscriptions 'Eventtopictest-Integration/Microsoft.EventGrid/EventSubcriptiontest-Integration' failed with
message '{ "error": { "code": "InvalidRequest", "message": "Invalid event subscription request: Supplied URL is invalid. It cannot be null or empty and should be a proper HTTPS URL

anthony-c-martin commented 4 years ago

Thanks for reporting this! We will follow up internally with the EventGrid team and get back to you on this.

ghost commented 4 years ago

Hello @jfggdl! It looks like there is a schemas issue that needs your attention. Please investigate and confirm it is on your end. Thanks :smile:

jfggdl commented 4 years ago

adding @Kishp01