I ran into what I assume is a bug when taking a map offline that contains feature layers with definition queries applied. I have a pipeline layer which contains all of our pipelines but the end user would like to be able to selectively display the pipeline by commodity. So I published a map with the pipeline feature service added multiple times and definition queries applied for each commodity. This map works fine as a web map or streaming it on Collector. However, taking this map offline results in an error “Map Download Failed. Unable to create replica. Please check your parameters. Error in creating runtime geodatabase.” I can get that same Web Map successfully offline by removing the layers with definition queries. Hence, I assume the definition queries are creating the error. Just curious if anyone else has encountered this and if there is a solution, if not I will place a support ticket with Esri. Thanks in advance.