Power Query - OData Connection to CRM - On Premise

Hi All.
I'm trying to connect Power Query to CRM via an Odata connection and I cannot seem to get it to work.
I have an on premise CRM organization so I figured that the online issue wouldn't apply, but I might be wrong.
I post the OData URL when prompted, go to the organizational account sign in section and when I click sign in I'm met with this response:
Unable to connect. This credential type is not supported for this resource.
Is this something I'll have to resolve with our system administrator? or is connecting via OData something I won't be able to do yet?
I have version 2.10.3598.81 of Power Query.

It really is not supported for CRM IFD/ADFS On-Premise deployment. I wrote for that a special Proxy service (client side java console application), which makes transparent translation: 
from: 
https:// <org>. crm. <domainname> .com/XRMServices/2011/OrganizationData.svc / 
to: 
http://localhost:8002/XRMServices/2011/OrganizationData.svc/

Similar Messages

  • Power Query occassionally connects, seems to load, but returns only 200 rows with 1 error

    I have a Power Query that i have used for few weeks, successfully, but occasionally requires being run a few times to return records.  Just lately it seems to require run more than a few times to make it work. 
    When it doesn't return records , it seems to connects and start retrieving data, but returns only randomly like 100 - 200 rows with 1 error.  The error doesn't have any message. So its hard to troubleshoot from that perspective.
    Query appends two other large and merges in a few others. The data sources are either csv files, Sharepoint Lists and tables in workbook.
    I haven't identified anything in terms of environment or query changes that might cause this.
    When it finally does retrieve all records,  it might be after i have done the following things, but i can't say for certain exactly what did the trick:
    * to run query multiple times
    *maybe simply changing anything in query resolves issue
    * making upstream queries (that are merged or appended into this query)  to Not Load to worksheet or model, eg just have connection
    I'd think this type of error and situation while not common is encountered by others.
    Does this ring a bell for anyone, and if so, can you please shed some light on the reasons and resolutions for this?
    Thanks!

    If you click on "1 error" it should show the editor with a query that will select the rows with errors. This unfortunately might not show all errors for various reasons, but you should try it.
    If that doesn't work, here's an example of how to retrieve error details.
    Suppose the following query:
    = Table.FromRecords({[A="B", B="C" + 1]})
    Notice how we're using the + operator with a string and number. This will result in an error.
    I can create a custom column that uses the 'try' operator over the B column. This returns a record with details which I then expand to retrieve the message.
    let
    Source = Table.FromRecords({[A="B", B="C" + 1]}),
    #"Added Custom" = Table.AddColumn(Source, "Custom", each try [B]),
    #"Expand Custom" = Table.ExpandRecordColumn(#"Added Custom", "Custom", {"HasError", "Error"}, {"Custom.HasError", "Custom.Error"}),
    #"Expand Custom.Error" = Table.ExpandRecordColumn(#"Expand Custom", "Custom.Error", {"Message"}, {"Custom.Error.Message"})
    in
    #"Expand Custom.Error"
    Let me know how this works for you.
    Tristan

  • Power Query Cannot Connect to NAV Database

    I can access the NAV database and get data by PowerPivot, however when I connect to NAV database with Power Query and enter my user name and password.  Power Query will pops out error message "The User Was Not Authorized".  But my account
    works fine in powerPivot.  Can anyone provide me some help please?
    Thanks
    Henry

    In Power Query, there are usually different types of credentials that you can choose on the left side of the dialog. Are you sure you've chosen the right type of credentials (ie. SQL auth vs Windows auth)?

  • Power Query Connection to SharePoint in O365 Failing

    Hi all, I'm trying to connect Power Query to a SharePoint list by using the SharePoint List option. After pasting in the URL for the sharepoint (O365 hosted) site and go to Organization Account to type in my O365 credentials for the site, I receive
    the following after clicking Save.
    I've tried this on a number of PCs with different admins around the company to no avail. It appears that no list is available to be seen. I've also tried OData feeds there too with no luck. Any ideas?
    Brian Knight Pragmatic Works SQL Server Training, Tools and Services

    OK looks like I'm narrowing it down. This appears to be an issue on the O365 SharePoint sites. One site appears to be working while another is not working for Power Query or any other API reader that wants to connect to it. I'm an admin of both so it doesn't
    appear to be permission problems. Is there anything that I could check inside of SharePoint that would prohibit Power Query from connecting?
    Thanks!
    Brian Knight Pragmatic Works SQL Server Training, Tools and Services

  • Can not see new Power Query data sources?

    Hi, 
    New Power Query can connect to three new data sources: Sybase IQ, Exchange, Dynamics CRM Online
    http://office.microsoft.com/en-us/excel-help/whats-new-in-power-bi-ha104149776.aspx
    I just installed the latest Power Query and wanted to connect to CRM Online instance. For some reason I can not see these new data sources, what am I missing?
    Thanks in advance!

    Hmm... I didn't think we had quite released this version yet. It's possible that that website went live before the link to the new download. There should be a blog entry about this on the "Power BI" blog in the very near future.
    At the risk of providing a spoiler :), the CRM Online support is via OData.

  • Unable to setup Power Query automatic refresh in Power BI Sharepoint Portal as per instructions

    Followed all instructions to setup a PowerQuery connected data source for automated refresh but no luck. Keeps giving the following error message. A connection could not be made to the data source with the Name of 'TestConnection' when trying to test the
    connection.
    Here are the exhaustive steps.
    1. Created an excel file that uses power query to connect to an On Prem database
    2. Created a powerview against the resulting data set (stored in data model/powerpivot)
    3. Setup a data management gateway on O365 Power BI Admin center
    4. Installed Data Management Gateway and associated keys on the On Prem server (established connection handshake successfully)
    5. Created a data source in Power BI Admin center, specified Power Query as the data source, copied and pasted Power Query connection string from excel file, validated tested connection for data source
    6. Uploaded the report file to Power BI site
    7. Now, when trying to setup the automatic refresh, it pulls the information for the associated connections in the file correctly. However when trying to test the connection, constantly just returns with the following message
    A connection could not be made to the data source with the Name of 'TestConnection'. Correlation ID: c3d2a19b-f03d-4b14-8d5e-8fe0ed103238
    It looks like the DMG based update is still half baked. What is missing here since all of the data connection validation and handshake steps for gateway and data source works correctly. Why is it that the Powerquery based excel file is unable to leverage
    the DMG and datasource to connect and pull data?
    Any thoughts or guidance, much appreciated.

    Everything,
    Is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Connecting Power Query to SharePoint Foundation 2010

    I'm looking to set up PowerQuery in Excel 2013 to link into the various lists on our SharePoint 2010 Foundation server.
    I have established the connection URL.
    The SharePoint Foundation 2010 server is on the same LAN I'm connected to, so I've opted for Windows Authentication.
    These two aspects of the setup appear to be fine: However at the point when Power Query links to the SharePoint server the following error is being returned.
    DataSource.Error: OData: The feed's metadata document appears to be invalid.
    Any ideas?

    Hi,
    We have forum for Power Query discussion and feedback. I will move your post to that forum:
    https://social.technet.microsoft.com/Forums/en-us/home
    The reason why I move your post is to get you the most qualified pool of respondents, and other partners who read the forums
    regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.

  • Using Power Query in Excel for Power BI Report with OData Feedfack

    I am trying to get the data into Excel Power Query from Dynamics CRM 2013 using OData Feedback.
    Every thing works fine but the data that I retrieve in Power Query Editor shows columns as Record and when I expand it by selecting Value option shown it provides me the data in integer format whereas I want the name.
    Basically it only provides me the value or id of the field from CRM, How could I obtain the Name field in it. 

    The documents should load but you won't be able to refresh your data. You should just see what was loaded to the sheet when you previously saved the document. Changes that you make in the iOS version shouldn't overwrite the PQ info and you should be able
    to edit the queries and refresh when you load it back into a desktop Excel client. Please let us know if your experience deviates from these expectations.

  • Power Query online search: Unable to connect to the remote server

    This is the error I get after I click add to worksheet. I see th preview of the data. I am in an enterprise behind a proxy if that helps.
    [DataSource.Error] OData: Request failed (ConnectFailure): Unable to connect to the remote server
    Stephen

    OData is a web service and so long as you can access it from your current network context, it'll work. Home, Internet Café, Hotel, Airplane -- doesn't matter. If the data source is private and is on a restricted network (like some sort of private data analysis
    source internal to your company), then you will need to VPN into that network before you attempt to refresh your data.
    I have noted some basic steps in my blog that might help you setup the basics and verify with a known publically available OData source.
    http://bariseris.wordpress.com/2014/10/27/using-excel-power-query-to-track-your-citys-progress/

  • Using an existing connection in the Excel 2013 file in Power Query

    Hi,
    I've created an Excel workbook and a SQL Server data connection in this workbook.
    When I open Power Query I cannot to use this created data connection.
    In general, inside Power Query can I use a data connection created in the original Excel workbook?
    Many thanks

    Following on from Ehren's advice please find the following screen shot and link; -
    https://support.office.com/en-gb/article/Connect-to-a-SQL-Server-database-Power-Query-e5004318-0f2e-46a3-8b15-1559aa3c04db?ui=en-US&rs=en-GB&ad=GB
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

  • Issue consuming Odata feed with Power Query (not in Power BI)

    I am trying to consume an OData feed from an SSRS report using Power Query ( latest release on Excel
     2010 x32). The Report server is in my company intranet.
    In the SSRS report, I can generate an Atom service file. When I use this file in PowerPivot, I can successfully import the report data and refresh it on demand. But I
    would like to do the same thing in Power Query using the "From OData feed" feature.
    1. I have tried supplying the URI to the service file
    = OData.Feed("file:///C:/Users/Bdarbonneau/Documents/temp/Manuf_cycle_time_mapping_table.atomsvc")
    I get this error : 
    DataFormat.Error: The supplied URL must be a valid 'http:' or 'https:' URL.
    2. I tried supplying the URL that the service file contains, but without success. 
    = OData.Feed("http://myssrsserver:8080/ReportServer?%2FMANUFACTURING%2FArchive%2FManuf_cycle_time_mapping_table&amp;rs%3ACommand=Render&amp;rs%3AFormat=ATOM&amp;rc%3AItemPath=Tablix1")
    I get this error:
    DataFormat.Error: OData: The given URL neither points to an OData service or a feed
    Am I missing something, or is what I am trying to do not supported ? 
    Regards,
    Bertrand

    My Current workaround for pulling data from SSRS until the dev team have worked out the odata issue is to pull the report in as a csv file:
    Csv.Document(Web.Contents("http://Servername/ReportServer?/SummaryReport&rs:Command=Render&rs:Format=Csv")),
    I also tried pulling an excel file from SSRS with no success.
    Tried:
    Excel.Workbook(URL)
    Excel.Workbook(Web.Contents(URL))
    Excel.Workbook(File.Contents(URL))
    Excel.Workbook(File.Contents(Web.Contents(URL)))
    if anyone has had luck pulling in an excel file from SSRS i would like to know how.
    Is there a rough release date for the odata functionality?

  • Error connecting to BOBJ server from Power Query

    I am getting this error when I try to connect to the BO server from Power Query;
    DataSource.Error: SapBusinessObjects: Unable to connect to the remote server
    Details:
       here it lists my URL which this posts didn't allow me to have.
    I know my server is otherwise up and running.  No problem connecting to Launchpad or CMC or IDT. 
    This is the 1st time I am using Power Query.  What is missing?
    Abdul

    Hi,
    This is a generic error about not being able to reach the server.
    You should make sure that there are no typos in the hostname and to include the port number, which is 6405 by default.
    e.g: http://powerquerysap:6405/biprws
    Tristan

  • Where to find the timeout setting for connecting to SAP Bi Universe in Power Query for Excel

    Hi All,
    I am trying to connect a SAP BI Universe. I am able to login to the environment and get the list of folders. But on trying to use the universe inside the folder, I am getting a time out error. The time out happens exactly at 100 seconds always.
    DataSource.Error: SapBusinessObjects: The operation has timed out
    Can you let me know if any setting can be done to avoid this timeout and get the universe into power query?

    I have the same problem with Version: 2.17.3850.242. It times out after 100 seconds. 
    In addition, I couldn't report it by sending a frown. Get the following error message
    Error Message: Could not load file or assembly 'Microsoft.Office.Interop.Outlook, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
    or one of its dependencies. The system cannot find the file specified.

  • Trouble connecting to SQL 2014 Database using Power Query

    I am trying to connect to a SQL 2014 Database using Power Query.  My connection string requires that I set the "Application Intent" setting to a value of "readonly", The connection parameter is required by SQL 2014 because of
    the failover cluster configuration.   
    I have successfully been able to connect via PowerPivot with the following connection string:
    Provider=SQLNCLI11;Data Source=<Server>;Persist Security Info=False;Integrated Security=SSPI;Initial Catalog=<DB>;Application Intent=readonly
    I cannot seem to find the correct syntax to connect via SQL 2014.  This is the syntax that I have been attempting: 
    Sql.Database("<Server>", "<DB>",[Application Intent=readonly])
    Is this currently supported?
    Thanks, Barbara

    It's not yet, I'm afraid, but it's something we're aware of and have vague plans to address :/.

  • Connect to Linkedin API with Power Query

    Hello
    Is there a way to create Power Query queries that connect to Linkedin API permanently (like Power Query does with Facebook)? I know it is possible to access Linkedin API the way Shish Shridar did it, but it is pretty limited and thus frustrating (see his
    article entitled "Analyzing LinkedIn Data using PowerBI" on his blog).
    I am sorry to ask without more technical details, but I am pretty new to Power query. I guess it has something to do with OAuth2 authentification not being implemented in Power query...
    I would be delighted If someone would be kind enough to provide me some insight on this issue !

    Thanks for your answer.
    What if I create an app to get the required access token etc? I know an excel add-on could be considered as a Twitter app, and thus be able to connect to the website's API (I'm thinking about Analytics for Twitter 2013 for instance) - is there any way to
    do the same with Linkedin?
    I guess this is far beyond my capacities for now, but any insight would be very much appreciated !
    [EDIT]
    I did a little more research... I created a Linkedin app and then followed the steps described on the official documentation to enable it to make authenticated API calls to LinkedIn using OAuth 2.0 (I cannot use hyperlink for now, but here is the full link
    to the official doc : https://developer.linkedin.com/docs/oauth2)
    Maybe some VBA would be able to request an authorization code following this type of URL : https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=MYCLEINTID&state=STATE&redirect_uri=MYREDIRECTURL
    - Then the user will be presented with LinkedIn's authentication dialog box. Is VBA able to fill in this login form?
    -If it is, then it should get the code displayed in the redirection URL, which looks like :
    MYREDIRECTURL?code=THECODETOGETWITHVBA&state=STATE
    -If VBA could, then it just has to go to this new URL : https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code&code=THECODETOGETWITHVBA&redirect_uri=MYREDIRECTURL&client_id=MYCLIENTID&state=STATE&client_secret=MYCLIENTSECRET
    -At this point, the last URL returns the access token, which could then be stored somewhere in Excel and thus used in Power Query (pretty easy to do using a headers like this:
    Headers=[#"Authorization"="Bearer Access Token"]])
    Hope someone will see this and tell me if it is feasible and likely to succeed.

Maybe you are looking for

  • Deployment descriptor "weblogic.xml" is malformed. in managed server

    Hi All,           Appreciate if anyone can help.           I have set up a cluster containing two nodes - one local and other           remote machine on weblogic 8.1.4           then i install my application this cluster setup its working fine.     

  • Thunderbolt faster?

    How do i get the promised faster speeds with multiple Lacie Little Big Disks?  I bought 4 of these, daisy chained them together, but having 4 is no faster than having one.  What am i supposed to do?  Is there a way to make a RAID utilizing all 4 driv

  • Could I upgrade software in Palm III and Palm V?

    As the topic says, can I update firmware in Palm III and Palm V? Could a Palm III update package be beamed to Palm III from Palm V? If Palm V can be updated, plz post a link to an update pack and a short explanation how-to-update (if the forum rules

  • How do i know when i'm using wifi vs mobile data usage?

    if for example I am surfing the internet. wifi is free vs. using mobile data

  • AT&T Pre Plus and Pixi Reception are lacking

    I had an iphone and I use to think that phone had bad signal. Now my pre plus gets barely 1 bar when iphones around me are getting 4bars of 3g. Its killing my battery switching between edge and 3g. I didn't want to make a big deal but my friend just