analysis = arcpy.mapping.AnalyzeForSD(sddraft) print analysis >> {'errors': {}, 'messages': {(u'Layer draws at all scale ranges', 30003): [<map layer u'Something.sde.Layername'>]}, 'warnings': {(u"Layer's data source doesn't have a spatial index", 10002): [<map layer u'Something.sde.Layername'>]}}
Solved! Go to Solution.
NICE!!!!!! Thank you for sharing!
To bring this back up, warning number 24012, "Standalone table's data source is not registered with the server and data will be copied to the server," is also NOT returned via AnalyzeForMSD. I checked everywhere and couldn't find a bug, so it looks like ESRI missed this one as well.
I know it's different than AnalyzeForSD, but we're utilizing the REST Admin API at 10.1, which only supports MSD.