
Hi @Sabeer Mohammed,
I think this is a browser caused issue. The error message indicates that the feature is not supported in the Edge browser even when using IE mode. As per my knowledge, Internet Explorer 11 and Edge IE compatibility mode are only supported in the SharePoint Central Administration site and not in Team sites, OneDrive personal sites, or any other types of SharePoint content sites.
To resolve this issue, I suggest you open your SharePoint site directly in IE and use the customize in InfoPath feature.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.