From what I see, neither of the second nor third links have anything to do with using Service Principal credentials to connect to the OData Feed.
The first link refers to using basic authentication after creating a Dynamics 365 Business Central instance in a hosting center with NavUserPassword authentication.
We are not in this situation. We already have a Service Principal, created in Azure AD, that can successfully connect to the OData Feed of D365 and pull data in Azure Data Factory. What we want to do now, is using this same Service Principal to connect to D365 OData feed from Power BI service and refresh the dataset.