I'm trying to import a BDCM file to my SharePoint Online to get an external data using WCF Data service (ASP.Net Web site even with Anonymous Authentication Enabled this site uses OData) fails to import with the error “Application definition import failed.
The following error occurred: Unable to connect to the remote server Error was encountered at or just before Line: '63' and Position: '20'.
I can import the same BDCM file without any error in my SharePoint on-premises site and use it in my external list.
Not sure what I’m doing wrong, I can access the SVC file without any issue but import fails. Do I need to create a Secure Store Service target application in order to import the BDCM file?
The ODataServiceMetadataAuthenticationMode and ODataServiceAuthenticationMode property in my BDCM file is set to PassThrough.
<Property Name="ODataServiceMetadataAuthenticationMode" Type="System.String">PassThrough</Property>
<Property Name="ODataServiceAuthenticationMode" Type="System.String">PassThrough</Property>
I can import the same BDCM file without any error in my SharePoint on-premises site and use it in my external list.
Not sure what I’m doing wrong, I can access the SVC file without any issue but import fails. Do I need to create a Secure Store Service target application in order to import the BDCM file?
The ODataServiceMetadataAuthenticationMode and ODataServiceAuthenticationMode property in my BDCM file is set to PassThrough.
<Property Name="ODataServiceMetadataAuthenticationMode" Type="System.String">PassThrough</Property>
<Property Name="ODataServiceAuthenticationMode" Type="System.String">PassThrough</Property>
PTS