As far as I can tell, AGOL doesn't directly support serving up a WMS URL/service:
Could Esri consider adding direct AGOL support, for use cases where we don't want to use Portal/ArcGIS Server, such as this? Serve up WMS/TMS/XYZ layer to iHunter app
Sign in to post, follow content, and more. New here? Register for free.