MS Dynamics CRM data connection in Excel 2016 failed - excel

I am getting error establishing a data connection in excel to import MS Dynamics report. Here what I have followed so far:
Went to Data tab >> New Query >> From Online services >> From Dynamics CRM online.
A pop up comes up saying Enter URL. Refer to Image below>
I put the URL I got from developer resource in MS CRM that exactly looks like this format
This is the url I am using (cannot reveal org name)-
https://orgname.api.crm.dynamics.com/XRMServices/2011/Organization.svc
When I click next, I get this error -
OData: The given URL neither points to an OData service or a feed: 'https://orgname.api.crm.dynamics.com/XRMServices/2011/Organization.svc'.
Why I am getting this error and what is the possible resolution?

You have to use OrganizationData.svc.
The URL will look like: https://orgname.crm.dynamics.com/XRMServices/2011/OrganizationData.svc/
Note the trailing slash / at the end of URL.
Refer this
Settings – Customizations – Developer Resources menu

Related

Web query connection does not create table in excel

I have the below external link
https://creator.zohopublic.com/inovadms/inova-dms/view-embed/SPO_Export_Public/M1ZxYdK6k6TYpgZzX7BgHsSQEwSQ2aY27Fx7DHTfCtNgp3tvsUHTajsMxdekudO9hyR9MFe0SgbF8MBngY6UbW5YBmgjWuvk5WfQ/hotelrecid=1721972000009874027&type=1
I would like to connect it in Excel 2013 using web query (with the Power Query it works but I would like to implement it as web query from the Data tab).
In a new excel sheet I am doing the below
1) Open a blank sheet
2) Go to Data-> From Web
3) I add the link and click GO. It returns me the below. I am not sure if this error is the reason of my problem
4) By clicking 'Yes' I have the below (everything fine until now)
But when I click the import button (and select the first cell for this import) it returns an 'Open Page Builder' message. Why this happens?
I did not have this problem until last year and I do not understand what is the issue here.
Zoho Support told me that it is Microsoft issue. Can you please reproduce it and tell me why it does not show me the page in an excel table?
It should return be something like that (without the color format)
It works for me by following this method.
1) Open a blank sheet
2) Go to Data-> From Web
3) I add the link and click GO. It returns me the below
4). I choose Basic option and enter URL and click OK
5). I get the following screen
6). I Choose the second option that is Table. As per my experience data desired by us is contained in Tables.
7). I click Load button to get the data, which loads on web page correctly.
HTH
A). If you choose Advanced option in step 3 then we will get the following dialog box. In this box in upper part we can add a URL by its constituent parts. For example http://community.powerbi.com/t5/Desktop/How-to-setting-a-dynamic-URL-connection/td-p/57072
has been shown entered into its constituent parts in the snapshot shown below. Further details to set a dynamic URL connection can be referred in linked document.
B). In the lower part of the dialog box there is a drop down to select HTTP Request Header Parameters like
Accept Required. Set this to application/json.
Accept-Encoding Optional. Supported encodings are gzip and deflate.
Authorization Required. See authentication.
Connection Optional. It is recommended that Keep-Alive be enabled.
Content-Length Optional. It is recommended taht the request body length be specified when known.
etc....
Further details can referred Query Management HTTP Request
HTTP Request Header Parameters setting for various applications like
Enter data directly into Power BI Desktop
Connect to Excel in Power BI Desktop
Analysis Services multidimensional data in Power BI Desktop
Connect to CSV files in Power BI Desktop
Connect to a Google BigQuery database in Power BI Desktop
Connect to an Impala database in Power BI Desktop
Connect to an OData feed in Power BI Desktop
etc.. can be referred to power-bi/desktop-connect-excel
Edit:
Regarding OP's comment whether same Excel file can run on another PC, my opinion is it is not possible. When try to copy file to temporary storage for transfer, we get a warning that this file can not be copied to new location with its properties. Are you sure you want to copy without its properties. Please see this warning snap shot.
As such it seems that the same query may not work in a new location. New query has to be created for that location.

Sharepoint Wrkflow 2013 became doesn't work

The workflow suddenly stopped working on the site which had been operating for about a year ago.
With Office 365 Sharepoint,
The workflow was made by Sharepoint Designer and call HttpWebService to change authorities on list items.
I tried get the list item in Workflow 2013 on the test site as well, and it has stopped working the same way, so I am in trouble because I do not know the cause.
Massage is below.
Activity in progress
Retrying last request. Next attempt scheduled 2018/03/19 >13:18. Last request details: https: // 'site' / _ api / web / lists (guid >'GUID') / Items (242)? % 24 select = ID% 2 HTTP Unauthorized for CID
We grant the authority of the application with Full Control and activate "Use application privilege in workflow" in management of site function.
Even if it is not a solution, if there is a similar problem occurring, please share the information.
Please check if you have set valid header like this:
Sorry, It was an incident at the data center of Microsoft

Excel 2016 Connecting to oData Feed Received (406) Not Acceptable Response

I'm working with Power Query in Excel 2016 and when trying to setup an oData Feed (Data Tab > New Query > From Other Sources > From OData Feed) I get a message back saying (406) Not Acceptable. Normally on the OData Feed, I put in the URL (Basic is selected by default) and it opens up an authentication window (to put in username and password).
I have two excel workbooks now with one being created about four weeks ago, using the same process and it works as expected; one can even select refresh data and it makes the connection and refreshes the data.
The second excel workbook is a new, created from scratch (as I wanted to go through a bit of a different path with the Power Query editor), but I cannot get past the OData feed creation.
It seems odd that the same URL that was setup before is not working in a new spreadsheet.
It looks like it was purely an issue with selecting oData as the feed. I'm connecting to JIRA rest web services and should have selected (Data Tab > New Query > From Other Sources > From Web) (the From Web over From OData Feed made all the difference)

Microsoft Dynamics CRM 2011 help page requests itself

When I click on the help icon in my Microsoft Dynamics CRM 2011 installation, I get the following very weird result:
It appears as if the help page loads itself, and when I look at my requests through Fiddler, this is indeed what happens. If I go to the help page URL directly (without using the help icon), it works fine. Any idea what might cause this behavior?
This problem is caused by a misconfiguration of the CRM installation. To verify this, execute the following query on your Dynamics CRM database:
SELECT [HelpServerUrl]
FROM [MSCRM_CONFIG].[dbo].[ConfigSettings]
The value returned by this query will looks like this: https://<yourhostname>/help/default.aspx/ The help server URL thus includes the path to the /help/default.aspx page. However, if you click on the help icon, Dynamics CRM will append /help/default.aspx/ to the help server URL. This causes the weird, nesting behavior. It also explains why going directly to the help page does not exhibit this behavior.
The solution is simple: edit the [HelpServerUrl] value in the [ConfigSettings] table and remove the /help/default.aspx part. This will leave just the base server URL in the setting. The final step is to recycle the application pool of the website (as the server URL is cached) and everything works!

custom reports rsProcessingaborted error

I have deployed CRM and installed the reporting extensions component successfully on the SSRS server with rollup2 (server and router match this) - I have separate servers for CRM , SQL and SSRS. The out the box reports work ok but the custom reports present an error "rsProcessingAborted" which to me sounds like permissions. I have read a number of articles relating to pepople with the same issue and have tried all possible fixes but still no joy.
SSRS runs under a svc_sqlserver acccount and this account has permissions in the DB
the datasources have all been created successfully and the custom reports are using the MSCRM_FetchDataSource which is configured with type Dynamics CRM Fetch and credentials supplied by the user running the report. The connection string says CustomerServicesCE which is the correct OrgsanisationID (as found within developer resources) - i have tried clearing this connection string, adding the server url, all possible combinations with no joy.
Within SSRS i cannot view the report, it says "cannot access the CRM datasource" - i read somewhere you need to enter the GUIDs systemuserid and organisationid as username and pwd but still no joy.
I tried amending one report to use the samedatasource as the out the box reports that work but still no joy which is the MSCRM_DataSource...................am i missing something?
These reports have come from another supplier - i don't mind how they are displayed (Fetch or otherwise) i just need them working!
interestingly i do get them working on my Development environment (after getting the same error) and to my eyes the setup looks identical!
thanks for any help
richard
the answer was to create an spn as
setspn -a http/crmservername domain\accountCRMrunsunderrIIS

Resources