Failed in validating the OData Metadata Xml. Unable to generate IEdmModel from the input Metadata xm

%3CLINGO-SUB%20id%3D%22lingo-sub-217405%22%20slang%3D%22en-US%22%3EFailed%20in%20validating%20the%20OData%20Metadata%20Xml.%20Unable%20to%20generate%20IEdmModel%20from%20the%20input%20Metadata%20xm%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217405%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20import%20BDCM%20file%20in%20bcs%20and%20some%20how%20i%20am%20getting%20this%20error.%20I%20tried%20to%20set%20a%20metadata%20store%20permission%20but%20still%20it%20does%20not%20work%20i%20am%20getting%20this%20error.%20Is%20anyone%20have%20any%20idea.%26nbsp%3B%3C%2FP%3E%3CTABLE%20cellspacing%3D%220%22%20cellpadding%3D%220%22%3E%3CTBODY%3E%3CTR%3E%3CTD%3E%3CP%3E%3CSPAN%3EApplication%20definition%20import%20failed.%20The%20following%20error%20occurred%3A%20Metadata%20cannot%20be%20fetched%20from%20intranet%20address.%20Error%20was%20encountered%20at%20or%20just%20before%20Line%3A%20'59'%20and%20Position%3A%20'20'.%3CBR%20%2F%3E%3CBR%20%2F%3ECorrelation%20ID%3A829f7c9e-00b8-6000-f3d4-f09639b86ca2%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3EThank%20you%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-217405%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217497%22%20slang%3D%22en-US%22%3ERe%3A%20Failed%20in%20validating%20the%20OData%20Metadata%20Xml.%20Unable%20to%20generate%20IEdmModel%20from%20the%20input%20Metadat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217497%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20I%20tried%20with%20SPD%20but%20somehow%20SPD%20is%20not%20working%20for%20me.%20it%20is%20not%20connecting%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217492%22%20slang%3D%22en-US%22%3ERe%3A%20Failed%20in%20validating%20the%20OData%20Metadata%20Xml.%20Unable%20to%20generate%20IEdmModel%20from%20the%20input%20Metadat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217492%22%20slang%3D%22en-US%22%3EHave%20you%20tried%20to%20create%20the%20ECT%20in%20SPD%202013%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217481%22%20slang%3D%22en-US%22%3ERe%3A%20Failed%20in%20validating%20the%20OData%20Metadata%20Xml.%20Unable%20to%20generate%20IEdmModel%20from%20the%20input%20Metadat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217481%22%20slang%3D%22en-US%22%3E%3CP%3EBasically%20I%20have%20a%20table%20in%20SQL%20Database%20and%20i%20want%20that%20information%20in%20SPO.%20So%20i%20have%20created%20a%20web%20service%20and%20now%20i%20am%20having%20issue%20to%20import%20BDCM%20file%20in%20that%20data%20into%20BCS.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217464%22%20slang%3D%22en-US%22%3ERe%3A%20Failed%20in%20validating%20the%20OData%20Metadata%20Xml.%20Unable%20to%20generate%20IEdmModel%20from%20the%20input%20Metadat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217464%22%20slang%3D%22en-US%22%3ESo%20you%20have%20a%20OData%20Service%20published%20somewhere%20and%20you%20want%20to%20consume%20in%20SPO%20using%20a%20BDCM%20Data%20Model...out%20of%20curiosity%3A%20Is%20it%20your%20service%20accesible%20from%20the%20Internet%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217441%22%20slang%3D%22en-US%22%3ERe%3A%20Failed%20in%20validating%20the%20OData%20Metadata%20Xml.%20Unable%20to%20generate%20IEdmModel%20from%20the%20input%20Metadat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217441%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20created%20the%20BDCM%20file%20in%20Visual%20Studio.%20Then%20i%20am%20trying%20to%20import%20the%20file%20from%20SPO%20Admin%20site.%20Then%20it%20is%20just%20throwing%20that%20error.%20I%20have%20attched%20the%20link%20which%20used%20to%20create%20a%20BDCM%20file%20and%20WCF%20Service.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fgeneral-development%2Fhow-to-create-an-odata-data-service-for-use-as-a-bcs-external-system%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fgeneral-development%2Fhow-to-create-an-odata-data-service-for-use-as-a-bcs-external-system%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217437%22%20slang%3D%22en-US%22%3ERe%3A%20Failed%20in%20validating%20the%20OData%20Metadata%20Xml.%20Unable%20to%20generate%20IEdmModel%20from%20the%20input%20Metadat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217437%22%20slang%3D%22en-US%22%3ECan%20you%20share%20details%20about%20the%20system%20you%20are%20trying%20to%20connecto%20to%20using%20BCS%20in%20SPO%3F%20It%20would%20also%20help%20if%20you%20share%20how%20did%20you%20create%20the%20BDCM%20model%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-822278%22%20slang%3D%22en-US%22%3ERe%3A%20Failed%20in%20validating%20the%20OData%20Metadata%20Xml.%20Unable%20to%20generate%20IEdmModel%20from%20the%20input%20Metadat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-822278%22%20slang%3D%22en-US%22%3EHi%2C%20Did%20you%20manage%20to%20resolve%20the%20issue%3F%20I%20am%20facing%20the%20same%20issue%2C%20trying%20to%20connect%20to%20NorthWind%20sample%20OData%20service%3C%2FLINGO-BODY%3E
Deleted
Not applicable

Hello 

 

I am trying to import BDCM file in bcs and some how i am getting this error. I tried to set a metadata store permission but still it does not work i am getting this error. Is anyone have any idea. 

Application definition import failed. The following error occurred: Metadata cannot be fetched from intranet address. Error was encountered at or just before Line: '59' and Position: '20'.

Correlation ID:829f7c9e-00b8-6000-f3d4-f09639b86ca2 

Thank you 

7 Replies
Can you share details about the system you are trying to connecto to using BCS in SPO? It would also help if you share how did you create the BDCM model

Hi @Juan Carlos González Martín

 

I have created the BDCM file in Visual Studio. Then i am trying to import the file from SPO Admin site. Then it is just throwing that error. I have attched the link which used to create a BDCM file and WCF Service. 

https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-create-an-odata-data-serv...

 

So you have a OData Service published somewhere and you want to consume in SPO using a BDCM Data Model...out of curiosity: Is it your service accesible from the Internet?

Basically I have a table in SQL Database and i want that information in SPO. So i have created a web service and now i am having issue to import BDCM file in that data into BCS. 

Have you tried to create the ECT in SPD 2013?

Yes, I tried with SPD but somehow SPD is not working for me. it is not connecting

Hi, Did you manage to resolve the issue? I am facing the same issue, trying to connect to NorthWind sample OData service