Opening files in Harmon.ie (Outlook) asks for credentials - outlook

Goodday all,
We have a few customers who are using Harmon.ie in Outlook and it is connected to Sharepoint.
When they want to open a document (any extension) a popup shows up to fill in username, when filled in username the next screen asks for their password.
This happens everytime they are trying to open a document.
I checked the settings in Harmon.ie, I tried the login via webbrowser and filled in manually the credentials of the user, with both settings the same thing is happening.
Anyone got a clue how to solve this?
Thanks

harmon.ie does not share credentials with MS Office applications when opening documents. The office applications authenticate against SharePoint separately. When user clicks on a document - harmon.ie determines appropriate application based on the document extension and then launches the associated desktop application by passing it the URL to the document. Running the application from command line and passing it the direct URL of the SharePoint document closely approximates the behavior of opening the document via harmon.ie.
Please check to see if running MS Office application, such as word or excel, from command line and providing the URL to the SharePoint document would require user to enter their password (sample command format is below - in this environment harmon.ie is installed in Outlook 2010 and opens a Word document from SharePoint URL from our test site)
"C:\Program Files\Microsoft Office\Office14\WINWORD.EXE" "http://ravenwood-corp.com/sandbox/Shared Documents/ER.doc
Check under Control Panel -> User Accounts and Family Safety -> Credential Manager, select Windows Credentials tab and delete any entries that have the same URL as the SharePoint site you are seeing the issue opening documents from.
You may also double check whether the SharePoint URL is added to Trusted Sites or Local Intranet in the Internet Explorer under Tools -> Options -> Security - if not, you can try adding the site URL to Local Intranet or Trusted Sites zones.

Related

How to access SharePoint files from a remote windows machine?

I have a few files in certain SharePoint folders that I would like to access from a Windows (Virtual Machine) remote machine. As a test, I copied the "link" of a SharePoint Excel file and used it in the WindowsVM browser and I connected successfully and opened the file.
I also tried to map a SharePoint folder's "link" within WindowsVM Folder Explorer/Network but I am getting the below error msg
Is there a way to accomplish this?
Thank you
To be able to map a SharePoint site as a network drive (this uses WebDAV) please make sure:
The SharePoint site url is added to trusted sites list in Internet Option -> Security -> Trusted sites.
Use Internet Explorer to navigate to the SharePoint site and sign-in using your credentials and leave the browser open (this should not be required but it helps somehow)
Now try to map the site as a network drive.
If the above does not resolve the issue (and assuming you are running Windows 10) you can additionally navigate to Settings -> Accounts -> Add a work or school account.
Edit:
If you only have Edge browser (no IE) - you'll need to open the SharePoint site in IE compatibility mode on Edge and login-in (SharePoint looks ugly in this mode). Once this is done continue to map the drive.

Outlook web addin save the mail and lauch a program

I had a VSTO in Outlook which saves the the selected email into a Temp folder and launchs then an exe to handle the mail.
Now, we want to create an addin in Outlook web app. Is there a way to save the selected email and reuse out exe ? how to launch an exe loccaly from web addin ?
Thanks
Web addins have no access to the local file system and cannot launch executables.
The best you can do is let the user download the file. If your app is registered to handle file extension of the file you provide, the user can then launch the app.
That is not possible. For security reasons Office web add-ins don't have access to the local file system, but you may consider using all standard mechanisms for web applications like web storage and etc. So, it is not possible to run any executable files on the local system for security reasons.
Office web add-ins are run under the context of currently selected item in Outlook. The Office JavaScript API doesn't provide any method for saving items on the disk (again, disk IO operations for accessing the local filesystem is not available for security reasons).
You can post or vote for an existing feature request on Tech Community where they are considered when the Office dev team goes through the planning process.

Preventing Chrome Extension Uninstallation?

My company has Chrome with our custom extension running on windows machines.
Our goal is to launch chrome locally on our machines with our extension running at all times. Our users are constantly looking to uninstall our extension.
Our current approach is to utilize the ExtensionInstallForceList registry key. This sort of works:
Right now, one can still click into C:\WM_0.0 and delete the folder. Once the folder is deleted, this extension is gone.
So we tried the following:
Create a windows account "Client"
Assign "Client" to "Client Group"
Change the permission C:\WM_0.0 to Deny Write
Log out and login to the machine again as Client.
Once I login to my windows machine as Client, I can no longer load my extension:
I tried to change the folder's permission to Full Control for both Users and Client Group but I am still seeing this error in Chrome.
1. How can I load this extension successfully given my current set of circumstances?
2. Is there a better way to do this?

How can i access my mails from every computer within the domain

we are using Office 365 with Exchange Online and Microsoft Outlook.
Is it possible so everybody with an Exchange account can access his mails in Outlook no matter on the computer(within the domain) he is logging in.
Right now if i log in on another computer there is no email account set up. So i need to add the account everytime im on another computer.
You should look into ZeroConfigExchange, it supports Exchange Online.
Implementing ZCE
Implementing ZCE is easy. It can be added (through a login script) to
the user's registry or as a GPO for all users. Here's how:
In the Windows Registry, navigate to the appropriate subkey for each version of Outlook that is in use:
For Outlook 2016:
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover
As a policy:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\AutoDiscover
For Outlook 2013:
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\AutoDiscover
As a policy:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\15.0\Outlook\AutoDiscover
For Outlook 2010
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoDiscover
As a policy:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Outlook\AutoDiscover
For Outlook 2007:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\AutoDiscover
As a policy:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover
Once the key is created, right-click in the right pane and click New, click DWORD Value and type in “ZeroConfigExchange” (without the
quotes) and then press ENTER.
Finally, right-click ZeroConfigExchange, click Modify and then in the Value data box, type 1, and then click OK.

Opening a file from TFS using the full TFS Path, from a web site

So I have a website running that displays full path of a TFS File on the page somewhere, I want the user to be able to click on it, which should then open up that file from TFS inside their Visual Studio.
The command to do this inside Visual Studio is "File.TfsOpenFromSourceControl" (DTE command) - it's basically the user manually going to that file using the Source control explorer and double clicking to open it up.
I am wanting to simulate that action from my web app inside the browser.
Update: The Web app is a pure ASPNet MVC app with Jquery available to it. I am already showing the file's content to the user in the web app. But I want the user to open the same file in Visual studio, by clicking on the file path in the web app. The question is more of Browser to VS integration and how to execute the DTE command in question, from within the web app context of the browser.
Any clues would be helpful
I don't know the answer to Pavel's question, so I'll sketch an outline of both solutions.
If you want to display the file inside the browser, call the Item.DownloadFile() API. NB: in 2008 SP1 there is another overload of this method that allows streaming into a memory buffer instead of writing directly to the filesystem. If you don't already work with Item objects directly, you can retrieve them via the GetItem() / GetItems() APIs.
If you want to make the file open in VS, there are a couple approaches. Perhaps your web app already includes the concept of local workspace(s) for the user, similar to Source Control Explorer. If so, you'd simply call Workspace.GetLocalItemForServerItem() to find the local path of the item, then ShellExecute it. (Or maybe pass it as a command line parameter to devenv.exe, if it's not natively associated with VS.) If not, you can either create a temporary workspace on behalf of the user, or use the same DownloadFile() API shown before; stream the contents to the client over a web service, save to disk, then launch VS as before.
Naturally, the more involved scenarios under option #2 will require deeper OS integration than the DOM / Javascript can provide. Would help to know if this web app is already built on ActiveX, Flash, Silverlight, XBAP, or similar technology...

Resources