Connecting to the Office 365 Reporting ODATA feed in SSIS

%3CLINGO-SUB%20id%3D%22lingo-sub-162572%22%20slang%3D%22en-US%22%3EConnecting%20to%20the%20Office%20365%20Reporting%20ODATA%20feed%20in%20SSIS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-162572%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20been%20trying%20to%20connect%20to%20the%20ODATA%20feed%20located%20here%20%3CA%20href%3D%22https%3A%2F%2Freports.office.com%2Fpbi%2Fv1.0%2F%26lt%3Btenantid%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Freports.office.com%2Fpbi%2Fv1.0%2F%3CTENANTID%3E%3C%2FTENANTID%3E%3C%2FA%3E%26gt%3B%20with%20SSIS.%20I%20can%20connect%20Excel%202016%20and%20Power%20BI%20to%20it%20and%20consume%20data.%20SSIS%20looks%20like%20it%20will%20connect%20and%20it%20even%20gets%20as%20far%20as%20listing%20collections%2C%20but%20then%20when%20I%20click%20Preview%2C%20I%20get%20the%20following%20error%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22text-align%3A%20left%3B%20color%3A%20rgb(47%2C%2047%2C%2047)%3B%20text-transform%3A%20none%3B%20text-indent%3A%200px%3B%20letter-spacing%3A%20normal%3B%20font-family%3A%20Consolas%2C%20Courier%2C%20monospace%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-weight%3A%20400%3B%20word-spacing%3A%200px%3B%20float%3A%20none%3B%20display%3A%20inline%20!important%3B%20white-space%3A%20normal%3B%20orphans%3A%202%3B%20widows%3A%202%3B%20background-color%3A%20rgb(255%2C%20255%2C%20255)%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20-webkit-text-stroke-width%3A%200px%3B%20text-decoration-style%3A%20initial%3B%20text-decoration-color%3A%20initial%3B%22%3EUnable%20to%20cast%20object%20of%20type%20'Microsoft.Data.DataFeedClient.DataFeedODataEdmWrapper'%20to%20type%20'Microsoft.Data.DataFeedClient.DataFeedODataEdmWrapperV3'.%20(Microsoft.Data.DataFeedClient)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat's%20as%20far%20as%20I%20can%20get--can't%20get%20to%20the%20columns%20and%20data%20contained%20in%20the%20feed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'm%20targeting%20SQL%20Server%202016%20(and%20have%20tried%202017)%20as%20well%20with%20SSDT%20for%20Visual%20Studio%202017%20version%2015.4.5.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHas%20anyone%20had%20any%20success%20connecting%20to%20this%20data%20source%20in%20SSIS%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-358497%22%20slang%3D%22en-US%22%3ERe%3A%20Connecting%20to%20the%20Office%20365%20Reporting%20ODATA%20feed%20in%20SSIS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-358497%22%20slang%3D%22en-US%22%3E%3CP%3EWelp%20it's%20still%20an%20issue%20a%20year%20later.%20I%20can%20still%20connect%20in%20Power%20Query%20(in%20Power%20BI%20or%20Excel)%20but%20not%20via%20SSDT--whether%20it's%20an%20SSIS%20package%20or%20a%20tabular%20data%20model.%20Even%20the%20new%20Power%20Query%20source%20for%20SSIS%20can't%20do%20much%20past%20make%20a%20connection.%20It%20errors%20out%20when%20you%20actually%20try%20to%20use%20the%20connection%20for%20anything.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-275612%22%20slang%3D%22en-US%22%3ERe%3A%20Connecting%20to%20the%20Office%20365%20Reporting%20ODATA%20feed%20in%20SSIS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-275612%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20exact%20same%20issue..Seems%20Microsoft%20not%20allow%20to%20grab%20data%20from%20office%20365%20to%20local..%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1178529%22%20slang%3D%22en-US%22%3ERe%3A%20Connecting%20to%20the%20Office%20365%20Reporting%20ODATA%20feed%20in%20SSIS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1178529%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1167%22%20target%3D%22_blank%22%3E%40Raymond%20Boone%3C%2FA%3EHere%20we%20are%20almost%20another%20year%20later.%20Did%20you%20ever%20get%20this%20working%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1191395%22%20slang%3D%22en-US%22%3ERe%3A%20Connecting%20to%20the%20Office%20365%20Reporting%20ODATA%20feed%20in%20SSIS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1191395%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F39167%22%20target%3D%22_blank%22%3E%40Jill%20Kaszynski%3C%2FA%3E%26nbsp%3BI%20just%20gave%20up%20and%20moved%20on.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1191404%22%20slang%3D%22en-US%22%3ERe%3A%20Connecting%20to%20the%20Office%20365%20Reporting%20ODATA%20feed%20in%20SSIS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1191404%22%20slang%3D%22en-US%22%3EThere's%20probably%20some%20other%20way%20to%20query%20365%20to%20get%20the%20info--maybe%20it's%20Office%20Graph.%20I%20just%20wish%20someone%20(from%20Microsoft)%20had%20chimed%20in%20to%20tell%20me%20that.%3C%2FLINGO-BODY%3E
Contributor

I've been trying to connect to the ODATA feed located here https://reports.office.com/pbi/v1.0/<tenantid> with SSIS. I can connect Excel 2016 and Power BI to it and consume data. SSIS looks like it will connect and it even gets as far as listing collections, but then when I click Preview, I get the following error:

 

Unable to cast object of type 'Microsoft.Data.DataFeedClient.DataFeedODataEdmWrapper' to type 'Microsoft.Data.DataFeedClient.DataFeedODataEdmWrapperV3'. (Microsoft.Data.DataFeedClient)

 

That's as far as I can get--can't get to the columns and data contained in the feed.

 

I'm targeting SQL Server 2016 (and have tried 2017) as well with SSDT for Visual Studio 2017 version 15.4.5.

 

Has anyone had any success connecting to this data source in SSIS?

5 Replies

I have exact same issue..Seems Microsoft not allow to grab data from office 365 to local..

Welp it's still an issue a year later. I can still connect in Power Query (in Power BI or Excel) but not via SSDT--whether it's an SSIS package or a tabular data model. Even the new Power Query source for SSIS can't do much past make a connection. It errors out when you actually try to use the connection for anything.

@Raymond BooneHere we are almost another year later. Did you ever get this working?

@Jill Kaszynski I just gave up and moved on.

There's probably some other way to query 365 to get the info--maybe it's Office Graph. I just wish someone (from Microsoft) had chimed in to tell me that.