Powerbuilder 2017: How to access Outlook Web app from application - powerbuilder

My application currently uses Microsoft Outlook, our customers wants to upgrade the the functionality to use the OWA(Outlook webapp ) instead of Outlook client.
Is there any possibility to access OWA from powerbuilder. i need to open the OWA and have to write a new draft mails.

Related

How do i access my web service published via ftp in Hostgator?

I have a REST API developed in ASP NET 4 C# Also I have a windows shared account in Hostgator (http://www.hostgator.com/windows-hosting) (that does not have Web Deploy profile)
I can manage my server only by Parallels Plesk Panel 11.5.30
As i saw in my research for the truth, i first published my Web API locally using Visual studio and then upload the output to my ftp account of hostgator.
What I wanted know is how do i access to my web services in there, which can be the URL? or am i doing anything wrong?

Authenticate the SharePoint 2013 Foundation site into the android application

I have a site in SharePoint Foundation 2013 which is public (within organisation domain - no network boundary). Now I want to make a mobile app for this site. Below are the details:
I need to develop a android application to show the SharePoint List Items/Data, using the SharePoint 2013 Rest API. But The problem is of authentication. I'm using Windows NTLM Claim based authentication in the SharePoint foundation 2013.
How can I authenticate the SharePoint site inside the android application and get the SharePoint data and displays it in the android app?
I am using Phonegap to develope the mobile app
You need to use NTLM Authentication library on Android.
Check out this: http://danhounshell.com/blog/android-using-ntlm-authentication-with-httpclient/
You can use the JAR available at this location to make HTTP requests with NTLM:
http://jcifs.samba.org/

Android/Microsoft Dynamics CRM App Development Project

I need some help with my project. The development consits on an Android App, which connects Microsoft Dynamics CRM web service, and collects data from previously created Contacts. Then, the user can see info, send email or call to the Contact selected.
My questions are:
Is it necessary to run a Microsoft Server for this link between Dynamics and App ? Somehow without having to use this? I just want to collect Contact data.
I'm using this app as a template / reference / tutorial :
https://github.com/DynamicsCRM/Android-Activity-Tracker-for-Dynamics-CRM
Thank you for your attention.
Why are you using CRM 4? If it was more current version of CRM then you would most likely have an online version in which microsoft azure has plenty of tutorials where you can connect your CRM to azure then to your application. Xamarin is now owned by Microsoft and they have a sample application https://github.com/xamarin/app-crm

Authorization and impersonation from ASP.NET application to Dynamics CRM web service

I have a problem about IIS configuration, so at least I think.
I have two different servers, in one of them are installed Microsoft Dynamics CRM 2011, on the second server I have ASP.NET application who talks with Microsoft Dynamics CRM 2011 web service. The problem is there, that I can't configure ASP.NET application.
Application has needed to work in the following:
I open ASP.NET Application who are enabled windows authorization
I login with Active Directory user, which at the same time, is user in Dynamics CRM 2011 system
When I am logged in, application start sending requests to Dynamics CRM web service with the same credentials that I am logged in
Now my configuration is that - enabled Windows authorization, enabled ASP.NET impersonation, application pool run as network service.
Problem is that when I open this application on ASP.NET server by adress localhost they automaticali get credentials with what I am logged in to this server, it's ok, but when I try to open application by address some-hostname.com they requre login, that is also ok, but when I logged in and application start send requests to Dynamics CRM web service. CRM web service response with 401 unauthorize,infer from this that there are problems with credentials who came from IIS.
I try to install and configure this ASP.NET application on the same server where hosts CRM server, there everything works fine.
What you're seeing is the double hoprestriction.
The credentials of the client cannot be forwarded from your ASP.NET application web server to CRM Server unless you configure delegation. For this your AD must already be set up for Kerberos authentication.
Your code will be attempting to connect to CRM using the Application Pool identity. You could configure this as a user within CRM and then use CRM impersonation (nothing to do with Kerberos or AD) by setting the CallerID on the proxy to the guid of the originating user (you'd have to make a call into CRM to get this). There's information about how to do this in the SDK docs.
For an ASP.NET app to impersonate a logged in user, especially from a fully-qualified domain name, you'll need to configure two things.
The App Pool identity for your ASP.NET application. Is this running as Network Service or as a specific user? The identity running the application must be "enabled for delegation." This is an option in Active Directory for that user account. If your application is running as Network Service, you'll want to enable delegation on the Computer account in AD instead of an user account.
The SPN (service principal name) for the application domain. A SPN is kind of like DNS for authentication, and is required for impersonation. If you are just using the machine name (e.g. http://server/app) AND you are using Network Service as the identity, you won't need to configure a SPN because one is set up by default for you when the server joins Active Directory. However, if you use a specific user account for the ASP.NET identity OR you want your users to use a fully qualified domain name (e.g. http://www.server.com), you'll need to tell Active Directory about this, and you do that using a SPN. Your Active Directory administrator should be familiar with SPNs and the setspn.exe command.
Please note that you may need to add a SPN for your CRM server as well, since it is just another ASP.NET application too. You should only need to do this if your internal CRM site is using a user account as the Identity OR you access the internal CRM using a fully-qualified domain name, just like your custom ASP.NET app.
Hope that helps!

Microsoft Dynamics CRM Online with a Windows Azure Hosted Webpage + IFrame + X-Frame-Options

I am trying to use Microsoft Dynamics CRM Online where Windows Azure hosts a custom webpage that is displayed in an IFRAME of the Microsoft Dynamics CRM web application.
I have read http://msdn.microsoft.com/en-us/library/gg509061 (Microsoft Dynamics CRM Online with a Windows Azure Hosted Webpage) and also followed the instructions on http://social.technet.microsoft.com/wiki/contents/articles/2590.aspx (Secure Windows Azure Web Role ASP.NET Web Application Using Access Control Service v2.0)
I now have a Windows Azure Webpage that displays a Windows Live Id screen to log in.
The problem is that when I place this into an IFrame in Dynamics, I get the following:
This content cannot be displayed in a frame
To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.
This is due to the HTTP header of "X-Frame-Options:deny" served by the Windows Live Id login preventing Internet Explorer from displaying the page in a frame. This even happens when I am already logged into Windows Live Id and the webpage tries to authenticate me.
So how is this meant to work, as the first Microsoft page implies it can be done with "Microsoft Dynamics CRM Online with a Windows Azure Hosted Webpage" and optionally displayed in an IFRAME?
This post suggests a workaround implemented by opening the sign-in page in a new window. That can be accomplished through standard window.open(...), but if your users are going to use the Outlook client, you'll have to jump through some extra hoops since the embedded browser does not share session data with the user's default browser. (A workaround for that is to use Xrm.Utility.openWebResource(...) instead, with a custom HTML page that redirects to the intended page.)

Resources