Sharepoint services through its web services from PHP client - sharepoint

How can I connect Microsoft Sharepoint services through its web services from PHP client? we want to use auto authentication as the user will not be able to pass the credential.

Related

IIS Server Error 401.2 in '/' Application. Access is denied

Here is the full error
Server Error in '/' Application.
Access is denied.
Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.
Error message 401.2.: Unauthorized: Logon failed due to server configuration. Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server. Contact the Web server's administrator for additional assistance.
Please help!
This error can occur when the authentication method that is configured in the web.config file for the Microsoft Dynamics NAV Web client is not enabled in Internet Information Services (IIS). The Microsoft Dynamics NAV Web client can be configured to use either Windows authentication or forms authentication. By default, the Microsoft Dynamics NAV Web client uses Windows authentication.
When you use Windows authentication, the Windows authentication
feature must be turned on in IIS and enabled on the website for the
Microsoft Dynamics NAV Web client.
When you use forms authentication, both forms authentication and
anonymous authentication must be enabled on the website for Microsoft
Dynamics NAV Web client.
1.To turn on the Windows Authentication feature in IIS
Use Internet Information Services (IIS) Manager to turn on Windows
authentication on IIS. For more information, see How to: Install and
Configure Internet Information Services for Microsoft Dynamics NAV
Web Client
2.To enable an authentication method on the Microsoft Dynamics NAV Web client website
On the computer that is running Microsoft Dynamics NAV Web Server
components, to open Internet Information Services (IIS) Manager and
do one of the following:
a. In Windows 7, on the Start menu, in the Search Programs and Files box, type inetmgr,
and then press Enter.
b. In Windows Server 2008 R2, on the Start menu, choose All Programs, choose Administrative Tools, and then choose Internet Information Service (IIS) Manager.
In the Connections pane, under Sites, choose Microsoft Dynamics NAV 2018 Web Client.
Under IIS, double-click Authentication.
To enable an authentication method, in the Authentication pane, choose the authentication, and then choose Enable in the Actions pane.
Restart the web server.
3.To restart IIS
In the Connections pane of Internet Information Services (IIS)
Manager, choose the root node for your computer, and then in the
Actions pane, choose Restart.
For more information you can refer to this link: Troubleshooting: Server Error in '-' Application. Access Denied

How to integrate On-Premweb application with Web app hosted on Azure (AAD authentication)?

What could be the ways to integrate a web application ( on-prem) to another web application (Azure) using azure AD authentication( happening in the background), with out the user being prompted for credentials.
It depends on how your on-premise application authenticated. Based on the description, you want to implement the single sign-on for the on-premise application with the application which protected by Azure AD.
In this scenario, you can deploy ADFS on-premise and make the on-premise web application authenticate by the ADFS. Then we need to enable the trust from the ADFS to Azure AD. After build the federated trust, when the users try to access the web application which protect by Azure AD will redirect to the ADFS, and if the users already authenticate the on-premise application they will not required to enter their credential again. Here is a figure to demonstrate this progress and you can refer more detail about it from this link.
And now, we can use Azure AD connect to integrate your on-premises directories with Azure Active Directory easily. You can refer the video on this link about different settings for this tool.

Sharepoint Provider Hosted app with Odata Web API

We have a requirement to build a SharePoint Provider hosted app, which needs to call to a ASP.NET Web API built with Odata. I could't find a exact solution for this. Any help to perform this would be highly approciated
It should be like any other web application as the provider hosted App is totally independent from SharePoint.
IF you are building the app using asp.net, then you can just add a reference to the odata endpoint, ex: http://yourservice/odata/$metadata
Visual Studio will generate a proxy to all entities in the odata service.
If you are building the app using other technology, then deal with the service as a normal REST service and call it using any HTTP client, from browser or a backend.

Create a DNN 7module with SharePoint 2013

I want to know if there are any projects that use DNN 7 to interact with SharePoint 2013. The SharePoint 2013 is a Provider hosted. For the setup, DNN would be installed on the same server as the App server and SharePoint 2013 on a separate server. Normally, I would create a SharePoint app that would be installed on the App server. I want to do the same using DNN as the framework with the module as the SharePoint App. Is this possible? I would assume so since SP2013 uses client model. Should I create the SharePoint App project and included it in my DNN project?
Thanks in advance.
You can embed SharePoint apps in DotNetNuke by making use of a html module that embeds your app in an iframe element. But since your apps can be hosted on any web hosting stack, you can even probably create a DotNetNuke module that is a Sharepoint app.
You will have to register your app with Azure ACS and with the App Management Service of the SharePoint farm or SharePoint Online tenancy, to be able to establish communication.
Then, to access Sharepoint, you will have to pass an access token in each HTTP request that you can obtain from Microsoft Azure Access Control Service.
More info here.

Authentication or Impersonation in SharePoint

I have a mvc web application hosted on iis and SharePoint installed on another machine. The Web application read the directory on SharePoint. How can I authenticate all the request coming from the machine on which mvc web application is deployed on SharePoint? or how can I impersonate all request to a service account which has permission to access the SharePoint?
Please provide a link with some information how can I achieve this as I am new to SP 2013

Resources