Find Jobs
Hire Freelancers

SharePoint Online remote Authentication from a Shared Server (c# code)

$50-400 USD

Cancelled
Posted over 10 years ago

$50-400 USD

Paid on delivery
I would like c# code to programmatically authenticate to my SharePoint Online 2013 (like Office 365) site from a remote shared Windows server. I've tried various methods, but the most promising is using the "Client Object Model" SharePointOnlineCredentials. It works great on my PC, but fails ("FileNotFoundException: [login to view URL]") when I deploy to my server. • I have tried using this method: [login to view URL] • On my dev PC, I've installed SharePoint 2013 client object model assemblies (Client Components SDK) from [login to view URL]; which work perfectly on my PC • In Visual Studio 2012, I've referenced [login to view URL] and the [login to view URL] (C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\Client) • In Visual Studio, I am NOT able to add a reference for [login to view URL] (even though it is on my PC in the "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI" folder). • I have all 3 files of these files in my bin folder on the server: [login to view URL], [login to view URL], and [login to view URL] • My server is a shared/virtual server and does not have SharePoint installed. I cannot install software or edit the registry on the server. • I can solve the "FileNotFoundException: [login to view URL]" by providing a hard-coded file path to it in the bin folder, but then other issues occur beyond my capabilities. Perhaps it is looking for other dlls normally on PCs, but not on Windows Server. I need to authenticate on a server because after successful authentication, I have code that then programmatically extracts needed info from SharePoint using the REST API (not in scope of this project, I'll do this). Note that this work may not be easy (I've been trying to solve it for hours, but I'm not a programmer and I don't have any technical training), but I believe it is possible -- it works fine on PCs. I see several forum posts with other people having this issue, but I don't see anyone offering a simple solution. I will provide a guest account to my SharePoint Online account and ftp access to a subdomain on my server. Work may require: • Viewing code in [login to view URL] and [login to view URL] (using something like ILSpy) to understand how it does the authentication. Note that I cannot add [login to view URL] as a reference in VS and I can't view it in ILSpy "does not contain a managed assembly". But I'm not sure [login to view URL] is used because in the VS Debug output, I don't see that it is loaded. • Viewing network traffic via Fiddler (or similar) to understand the way it works on a PC I will release full payment with delivery of VS solution that successfully authenticates from my server. I will consider partial payment for a plan that appears likely to work.
Project ID: 5192873

About the project

15 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
15 freelancers are bidding on average $331 USD for this job
User Avatar
Hello I propose to also install the sharepoint 2013 client library on a clean PC, and then trace all dependencies. Once that is done, I should be able to create an installer that will put down all the dependencies that are needed. What exact type of server are you running the app on? Are you (for instance) able to change the system PATH parameter Regards, Joon
$277 USD in 5 days
5.0 (48 reviews)
7.1
7.1
User Avatar
Hi, This is an interesting problem and I would like to have a look on it. I will try to solve the problem by create an environment similar to your shared windows server (without installing SharePoint on it) and try the following different methods: 1. Try to re-compile your applications using local copies of the dll (Best way if worked) 2. Re-complie the sharepoint dll, hard-code the address & registry value (not a good case) 3. A mixture of the above So if you find this interesting, could you send me a copy of your current work and all the dll needed Regards,
$300 USD in 10 days
4.8 (9 reviews)
6.1
6.1
User Avatar
Hello, I think it is possible to get done what you want, in one hand you have the client-side auth but in this case you to install client-components to access SharePoint Site (as InfoPath, SP Designer, Outlook and other Windows Clients does) but remember this way is client-side only, it is not for Server-To-Server Auth, in the other hand you could just enable the basic form authentication at the SP Site Collection to connect with. Thank you for consider me for this. Regards, DSC
$277 USD in 4 days
4.8 (4 reviews)
4.5
4.5
User Avatar
Well to answer your query, you cannot use Client Object Model or any farm solution in SharePoint Online.. SharePoint online is completely different from on-premises SharePoint farm and thus many things do not work on SharePoint online, which work just perfectly fine in SharePoint on-premises.. Since you can't deploy farm solutions that means you cannot deploy application pages, visual web parts, any files in 15 hive folder, site provisioner etc. These capabilities are most commonly used with in SharePoint development but unfortunately are not allowed in SharePoint Online. You can only deploy sandbox solutions which don't give much power.. I hope that answers why your solutions are not working when deployed on SharePoint Online.. Let me know if you need any help
$388 USD in 10 days
4.8 (3 reviews)
3.2
3.2
User Avatar
Hello. I like decompiler net code and review traffic code. Else i know SharePoint soo i think i help you.
$222 USD in 4 days
5.0 (2 reviews)
2.4
2.4
User Avatar
Hi, Thanks for the project posting. I am very interested in this project and look forward to discussing with you regarding more project details. Thanks, MM
$333 USD in 10 days
5.0 (1 review)
2.4
2.4
User Avatar
Hi, 1. Total 5 years of SharePoint experience which included development, administration, frontend design, webcontent managemt and automation of business process. 2. Have good experience in developing publishing websites as well as intranet website on SharePoint Online / O365. 3. Developed application using Client Object Model with best practice approach and methodology recommended by Microsoft. 4. Extensively used most of the new features of SharePoint 2013 like developing SharePoint Hosted Apps, automating business process using Declarative SharePoint 2013 workflows. We have created on click deployable solution with automating site branding, features, site structure, design, functionality. 5. Developed sites compatible to mobile applications using device channel and also responsive website using html5 and bootstrap for mobile. 6. Few of the prominent clients are Dymocks Intranet Portal a retail bookstore, MaxsToolBox an education client, recruitment portal of a product based company and other similar portals for world known organizations with E1 and E3 plans. 7. Worked majorly on agile methodology and sprint planning approach. Rest depending upon the client requirement , we can go for architecture design ,analysis and planning of the product.
$200 USD in 3 days
5.0 (1 review)
1.0
1.0
User Avatar
A proposal has not yet been provided
$777 USD in 10 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear Sir, We have read your advertisement with interest and can provide the skills you require in SharePoint Development. We have been involved in SharePoint Development and Project Management for a number of years. We are used to work to time lines and meeting clients expectations with prompt communication, and could be available to start on your project within 1 working day. Should my proposal be of interest to you please do not hesitate to contact me to discuss this further. Kind regards, labOnLaptop Team.
$333 USD in 10 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Pittsburgh, United States
5.0
11
Member since Jul 9, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.