Partition and event capture is possible with Event hub and not Event grid. Azure Event Hub can be used to get the messages from the various devices. Azure Event Hub capture can then be used to persist the events to Azure Blob storage. https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-capture-overview