I just tested both EDIFACT Encode (by Identities and by agreement) i tryed to create an output file into drop box, for the output content I tryed different Tag:
Transformed XML: show me the EDIFACT Message as XML, this is correct.
Payload: I think this should be the correct EDI File but what I get is not an EDIFACT file, no idea where these values are coming from. (see attachment)
Was this tested? As an EDIFACT expert I'm happy to help if needed
Please create a post on MSDN LogicApps forum.
Tushar J commented
The output you shared is a base64 encoded response from the "Encode"action, decoding it should show the edi content. I would request you to post the questions on the MSDN LogicApps forum