Hi @Celdere,
Do you want to formate the datetime from timestamp with type 'MM-dd-yyyyTHH:mm'?
If you would like to formate the datetime from timestamp with type 'MM-dd-yyyyTHH:mm',you could refer to screenshot below to create the flow:

The expression in the Compose 2 as below:
formatDateTime(outputs('Compose'),'MM-dd-yyyyTHH:mm')
The flow would run successfully as below:

Please let me know if your problem could be solved.
Best regards,
Alice