I want to view my Sharepoint documnets in salesforce using "File Connect" introduced in Winter15 release for connecting to External Data source but i am facing a problem to connect to sharepoint. I have used the follwing link for Set Up Salesforce Files Connect :
http://releasenotes.docs.salesforce.com/en-us/api_cti/release-notes/rn_chatter_files_connect_setup.htm and followed the steps below :
1) First, enable Files Connect, and let users access related
external data sources
a) Enable Files Connect for your organization.
b) Let users access Files Connect data sources.
2) For cloud-based data sources, create an authentication provider, and then define the source
a) Create a SharePoint Online authentication provider.
b) Define a SharePoint Online external data source for Files Connect.
But when completing the step2 b) and clicking on Start Authentication Flow on Save as checked and saving it takes me to sharepoint login page and when logged in to sharepoint following error occurs:
The query String "redirect_uri" is missing or invalid
I have checked lots of sites but unable to correct fix this issue.If anyone has knowledge please,please share it with me as soon as possible .
My guess is that either your Salesforce auth provider is not correctly configured or that your SharePoint Online app is not correctly configured.
I would recommend opening a ticket with the Salesforce support team so that they have a look at your configuration.
am also working on this
i faced an issue
when woking with external data source:
can u let me know what is to be filled in this field "Authentication Provider"--which is a look up field when i click on this nothing appears.
and my authentication protcol is Oauth.
Related
I'm trying to connect to Salesforce using a linked service on Azure Data Factory, But I get the following error (connection failed):
ERROR [HY000] [Microsoft][Salesforce] (80) Unknown error received from SOAP response, potentially a problem with user privileges.
I have followed the steps mentioned on the following link (Microsoft Documentation), to Enable API Access in Salesforce Classic by the Permission Set, but I couldn't find the permission name: API enabled.
https://learn.microsoft.com/en-us/azure/data-factory/connector-salesforce
https://migration.trujay.com/help/enable-api-access-salesforce-permission-set/
So I have assigned many permissions and I have added 15 settings randomly (as you will see on the picture below):
Added Setting
Can you please orientate me on which settings & permissions should I add.
Regards,
Setup -> Profiles -> (profile name) -> System permissions
Or Setup -> Permission Sets -> (name) -> System permissions and then "Manage Assignments", make sure it's added to your integration user.
If you don't see the checkbox it's possible API access isn't possible in your org . As that blog mentions - there are some cheaper license options like Group Edition, Contact Edition that allow only the website & mobile app use, no API.
Setup -> Company Information, in right column you should see "Organization Edition"
I am trying to use Rest web API , to retrieve data.
When i am building and executing it using localserver, it is displaying the data.
But, when i publish it and use IIS to access it does not show any data. and shows this
"This XML file does not appear to have any style information associated with it. The document tree is shown below."
i am already using the same API for the functions of fileupload and they are working. Its just the matter of database, whenever i have to access database,it showing me the error above(This error means that no data is fetched).
Can you please help me with it?
Thanks in advance
The common reason behind the issue is iis user does not have enough permission to access the database.
To resolve the issue you can assign the database domain user which has enigh access to the database to the application pool by following below steps:
1)Open iis manager
2)select your application pool -> advanced setting.
3)Under Process Model, click on the “Identity” value and select “Custom account”.
enter your domain user name(DOMAIN\USERNAME) and password which user has to access to the database and click ok to apply the changes.
after applying changes select the application pool and click on the “Recycle”.
If you still face an issue you could refer below link for how to configure application pool user in SQL server.
https://forums.iis.net/post/2159167.aspx
Recently Microsoft published the Microsoft Search API (beta) which provides the possibility to index external systems by creating a MS Graph search custom connector.
To achieve this I created 2 Search Custom Connectors:
one according to Microsoft Graph Search Connector Sample from GitHub
and one on my own, step by step according to the official MS instructions
Create the Connector app in Azure
Add app registration (Single tenant)
Add required API permissions and give admin consent
Add a client secret
Get access token (via Postman)
Get the required parameters from app registration
Submit a login request to get the (bearer) token
Create a new connection (via Postman)
Registering a schema (via Postman)
Add items to the search index (via Postman)
Both variants worked well so far but if I now try a search (for example via Bing (activated for our O365 tenant, or in the Microsoft Search Center, logged in as the appropriate account) no results from the custom connectors are shown.
Via Graph Explorer, logged in as the appropriate account and using the query https://graph.microsoft.com/beta/search/query, I get an http status 500 ("InternalServerError", "The call failed, please try again."): Screenshot from Graph Explorer
Under > Microsoft 365 admin center > Microsoft Search > Connectors both connectors are displayed but there is displayed neither any status nor any successful synchronisation: screenshot from MS 365 Search admin center
I know the Microsoft Search API in still in preview but I wonder if it works at all?
Is there any possibility to trigger the synchronisation manually?
Or at least find out what's going wrong here?
Did you create a new Result Type and Vertical as well in the Search center?
I followed the steps mentioned in the sample and the search works for me in Office 365.
Regarding the synchronization, I don't think that is available in the Search center as of now because there is no option to edit the connection or set any synchronization schedule. However, I'm still exploring other options to synchronize as its quite new to me.
I'm doing some load stress test for my PowerBI service in Sharepoint.
the test case that I'm doing is simple enough :
Accessing my PowerBI report in sharepoint with 50 different users at the same time.
to do that, I'm using jmeter as my testing tools and following the tutorial that I found below:
tutorial
This is the setting that I come up with:
a. in my Thread Group, I set 10 users to access in 10 seconds for 10 times
b. I also set HTTP authentication manager. I put my user(mail address) and password which I used to login into the sharepoint
c. On my HTTP request I set the Host with my sharepoint address and the path with my PowerBI report files path inside the sharepoint
when I start my test plan with that setting, the result on my table showing that I have a warning
and when I check the log, it shows that my connection into sharepoint has been timed out
Do anyone knows where did I set wrong?
or maybe a tutorial to set the Jmeter itself would be appreciated.
regards,
add my HTTP authentication info.
BASE URL : inserted microsoft ID login page and my company login page
Username : my company AD email
Password : my company AD password
For SharePoint application test in JMeter, It's better to use the Recording template or configure test plan to record steps.
Otherwise, for authentication error will show every time. I have used test recording for SharePoint applications
We are writing a document organization system as a Custom Tab within Microsoft Teams and we are trying to replicate the 'Edit in Teams' option that´s provided by Microsoft Teams on the Files tab but it seems that we are unable to replicate the functionality. We are storing files within Sharepoint and have an edit URL, but we are unable to iframe this link due to CORS issues and can only open this link in a new browser. Does anyone have any thoughts on how we can open office documents within the teams client from a custom tab other than opening as a new window which means users have to keep switching in and out of Microsoft Teams.
By looking at what Microsoft teams is doing via the network requests, when you select ´Edit in Teams' it is getting hold of an wacUrlEdit link which appears to be iframeable which for example begins with https://euc-word-edit.officeapps.live.com/we/wordeditorframe.aspx?ui=en, however we can´t get hold of this wacUrlEdit link as it generated using an access token from https://api.spaces.skype.com, which according to https://stackoverflow.com/users/4406395/bill-bliss-msft on How to get an Azure Active Directory access token for https://api.spaces.skype.com isn´t publicly available, it´s only intended for the teams client. Fyi.. It also seems that Teams doesn´t IFrame this wacUrlEdit, but opens up a new url (at least in the web browser) via https://teams.microsoft.com/_#/docx/viewer/teams
I have read about WOPI host implementation, but this does seem like a lot of work to solve this and not totally sure this is the correct option considering these files are stored in Sharepoint Online.