Sharepoint Hosting Vanity URL and ADFS 3.0

Friends,
i'm sure you got my question from the subject of this topic. to clarify this we are in progress of deploying a hosted model of sharepoint 2013 with vanity urls and i'm trying to integrate SP 2013 with adfs 3.0
we are planning to use vanity urls for our sp service. but limitation of certificate in endpoint of adfs doesn't let us to do this !
is there ant workaround for this ? or i'm forced to use subdomain names fpr sharepoint while integrated with adfs ?
Kind regards,
ravaghi

Hi Ravaghi,
As I understand, you have configured SharePoint 2013 Hosted Name Site Collection, now you would like to integrate SharePoint 2013 with ADFS.
Could you please check Basic Host Name Site Collection Setup
without custom defined host header managed paths part in the article below:
http://blogs.msdn.com/b/russmax/archive/2013/10/31/guide-to-sharepoint-2013-host-name-site-collections.aspx
Regards,
Rebecca Tu
TechNet Community Support

Similar Messages

  • SharePoint-hosted Apps on-premises ADFS SAML 2.0 support

    SharePoint-hosted Apps does not support SAML authentication. I have read SharePoint-hosted Apps will not be redirected to correctly when using SAML authentication.  This is because the identity providers ADFS 2.0 do not support wildcards for return
    URLs – which would be needed due to the isolated domain model implemented for SharePoint-hosted Apps. SharePoint APPS will not work for the scenario where SharePoint is using SAML authentication and the application itself is also hosted in SharePoint"
    Was this for RTM or this still stands true for SharePoint SP1? Does ADFS 3.0 support this for SharePoint 2013?
    jtjscholten

    Yes, if the identity provider supports wildcard return uniform resource locator (URL) registration and honors the
    wreply parameter. For more information, see
    WS-Federation: Passive Requestor Profile.
    To configure SharePoint 2013 to use the wreply parameter, use the following commands at a Windows PowerShell command prompt:
    Copy
    $p = Get-SPTrustedTokenIssuer
    $p.UseWReplyParameter = $true
    $p.Update()
    Note:
    Active Directory Federation Services (AD FS) 2.0 version does not support wildcard for return URL registration
    Source: http://technet.microsoft.com/en-us/library/jj219806.aspx
    Does ADFS 2.1 support wreply parameters or do we have to migrate to adfs 3.0. We currently use ADFS 2.0. I can't find a Microsoft article about this.
    jtjscholten

  • SharePoint hosted app part and SPHostUrl + SPAppWebUrl

    Hi,
    I have sharepoint hosted app that gets hostweburl and appweburl with the next lines 
    function getUrl() {
    hostweburl = getQueryStringParameter("SPHostUrl");
    appweburl = getQueryStringParameter("SPAppWebUrl");
    hostweburl = decodeURIComponent(hostweburl);
    appweburl = decodeURIComponent(appweburl);
    var scriptbase = hostweburl + "/_layouts/15/";
    $.getScript(scriptbase + "SP.Runtime.js",
    function () {
    $.getScript(scriptbase + "SP.js",
    function () { $.getScript(scriptbase + "SP.RequestExecutor.js", execOperation); }
    function execOperation() {
    context = new SP.ClientContext(appweburl);
    appContextSite = new SP.AppContextSite(context, hostweburl);
    And this works fine. But when I'm creating app part those hostweburl and appweburl fields are undefined. So I cant get the context and everything is broken. Is this done in some other way in app parts? 

    Like this in the ClientWebPart   
    <Content
          Type="html"
          Src="~appWebUrl/Pages/Welcome.aspx?{StandardTokens}&amp;ShowImage=_ShowImage_" />
    The {StandardTokens} contains all the queryString parameters you need.
    Author,
    Microsoft SharePoint 2013 App Development
    Author,
    Professional Business Connectivity Services
    Author,
    Inside SharePoint 2013
    Blog, www.shillier.com
    Twitter, @ScotHillier
    SharePoint Trainer, Critical Path Training

  • Prevent Searching of SharePoint Hosted App libraries

    On my site I am using Search Driven content for Popular pages, etc.  However I just installed an app to my site and now the items from that App are showing up in my content webpart on the host site.  How do I prevent indexing of items from my
    installed App?

    Hi
    Justin Crosby ,
    According to your description, my understanding is that you want to  exclude SharePoint Hosted App from search resource.
    Here is the steps you can refer to:
    Verify that the user account that is performing this procedure is an administrator for the Search service application.
    In Central Administration, in the Application Management section, click Manage Service Applications.
    On the Manage Service Applications page, in the list of service applications, click the Search service application.
    On the Search Administration page, in the Crawling section, click Crawl Rules. The Search Service Application Crawl Rule page appears.
    Input your SharePoint  Hosted App URL to the Path , check
    Exclude all items in this path for Crawl Configuration and
    Use the default content access account for Specify Authentication.
    Click OK.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to get inputted value in a RTE field on custom page and submit by REST call in 'Sharepoint hosted app'.

    Hi I am facing the three questions below.
    1. How to use default RTE in custom page in Sharepoint hosted app.
     I saw the article of Rich text Editor (ribbon based) in a webpart in SharePoint 2013 and tried it. But it did not work well. I guess it needs code-behind setting, however sharepoint hosted app does not support code-behind.
    Does anybody know how to do this?
    2. In above case, I placed the below code on custom page and tried to get the field's value when submit button was clicked.
    <SharePoint:InputFormTextBox ID="rftDefaultValue"
    RichText="true"
    RichTextMode="FullHtml" runat="server"
    TextMode="MultiLine" Rows="5">
    </SharePoint:InputFormTextBox>
    In debugger, the returned value was 'undefined'.
    var note = $('#hogehoge').val();
    Is it possible to get the RTE value? If yes, please let me know how to do this.
    3. I need to submit the RTE value using REST call.
    In this
    article in MSDN, the item creation sample treats single line text field. Does anybody know the sample for RTE?

    Hi,
    According to your description, you might want to use Rich Text Editor control in your SharePoint hosted app.
    First of all, I would suggest you post one question in one thread to make it easier to be discussed, which would also help you get a quick solution.
    Though we can add this control into a SharePoint hosted app, however, as we can’t add code behind for it, plus with the potential compatibility issues in different
    browsers, I would suggest you use other JavaScript Rich Text Editor plugins instead.
    Two JavaScript Rich Text Editor plugins for your reference:
    http://quilljs.com/
    http://nicedit.com/
    If you want to submit the value of Rich Text Editor control to a SharePoint list using REST call, since the content in the Multiple Line of Text column is wrapped
    with nested HTML tags, the similar requirement would also be applied to the content to be submitted.
    Here is a code snippet about how to update a Multiple Line of Text column for your reference:
    updateListItem(_spPageContextInfo.webAbsoluteUrl, "List018", 1);
    function updateListItem(siteUrl, listName, itemId)
    var itemType = GetItemTypeForListName(listName);
    var item = {
    "__metadata": { "type": itemType },
    "MultiTextEnhanced": "<div><a href='http://bing.com/'>Bing</a><br></p></div>",
    "Title": "123"
    $.ajax({
    url: siteUrl + "/_api/web/lists/getbytitle('" + listName + "')/items(" + itemId + ")",
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    console.log(data);
    $.ajax({
    url: data.d.__metadata.uri,
    type: "POST",
    contentType: "application/json;odata=verbose",
    data: JSON.stringify(item),
    headers: {
    "Accept": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val(),
    "X-HTTP-Method": "MERGE",
    "If-Match": data.d.__metadata.etag
    success: function (data) {
    console.log(data);
    error: function (data) {
    console.log(data);
    error: function (data) {
    console.log(data);
    // Getting the item type for the list
    function GetItemTypeForListName(name)
    return"SP.Data." + name.charAt(0).toUpperCase() + name.slice(1) + "ListItem";
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0

    Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0
    Please help!!

    I dont think you can do this, because you have to name/url of the web application in realm. You have to add new realm for each web application.here is script to add another realm.
    Add-PSSnapin "Microsoft.SharePoint.PowerShell"
    $sts = Get-SPTrustedIdentityTokenIssuer | where {$_.Name -eq "ADFS2.0"}
    $uri = new-object System.Uri("http://url/")
    $sts.ProviderRealms.Add($uri, "urn:sharepoint:Name")
    $sts.Update();
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Hep with additional domains and vanity URLs

    hi. 2 questions please:
    1) i would like to host a friend's website, using my server space with my web host. he would purchase a completely separate URL, and i would want all those pages to be completely its own website, unrelated to mine but using the same FTP space. is this possible, and if so, can you please advise how i would set up my files on my ftp and/or through dreamweaver?
    2) i have a vanity URL which i've set up to redirect to my website. the issue i'm having is that only the home page retains the vanity URL; all the other pages in the site go back to the real website name (realname.com/ads.html vs. vanity.com/ads.html). i'd like it to retain the vanity URL throughout--is this possible?
    thanks!

    I think you need to talk to your website host administrator.

  • Unable to add aspx file to document library using REST and JSOM in SharePoint Hosted App

    Hi,
    I am unable to add an aspx file to document library.  I was actually trying to create a WIKI page and upload to Pages library but that wasn't working so I tried simple document library.  It keeps failing with Access Denied error.  I have checked
    the blocked types and aspx is not included.  I can upload it directly from the browser so that shouldn't be the case.  I have read that it can be achieved with CSOM but I need this to work with a SharePoint Hosted App.  Here is my JSOM:
    factory = new SP.ProxyWebRequestExecutorFactory(appweburl);
        context.set_webRequestExecutorFactory(factory);
        appContextSite = new SP.AppContextSite(context, hostweburl);
        oWeb = appContextSite.get_web();
        oList = oWeb.get_lists().getByTitle('Documents');
        fileCreateInfo = new SP.FileCreationInformation();
        fileCreateInfo.set_url("mywiki.aspx");
        fileCreateInfo.set_content(new SP.Base64EncodedByteArray());
        fileContent = "<%@ Page Inherits=\"Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c\" %> <%@ Reference VirtualPath=\"~TemplatePageUrl\"
    %> <%@ Reference VirtualPath=\"~masterurl/custom.master\" %>";
        for (var i = 0; i < fileContent.length; i++) {
            fileCreateInfo.get_content().append(fileContent.charCodeAt(i));
        newFile = oList.get_rootFolder().get_files().add(fileCreateInfo);
        context.load(newFile);
        context.executeQueryAsync(function () {
            alert('yo');
        }, function (sender, args) {
            alert(args.get_message() + '\n' + args.get_stackTrace());
    If I change the file extension to "txt", it works.  Same with REST implementation, it works with "txt" but fails with "aspx".  Maybe what I am trying to do will not work using JSOM or REST.  Any suggestions?  Your
    help is always appreciated.
    Regards,
    kashif

    Your code works fine in both my on-premises and SharePoint Online. I have given the app full control, so I suspect this is a permissions issue. I would check your permissions on your appmanifest. Must be something to do with publishing permissions. Try
    giving full control and work the permissions down.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • SharePoint hosted App that listens and log SharePoint Events

    Basically, what I need, is something that can listen to all events fired in SharePoint and write them to a custom list.
    I was thinking of making this as a SharePoint hosted app because it has to work on SP Online as well.
    The idea is then, to let a provider hosted app read the custom list every x minutes and do it's own logic depending on the events it reads from the custom list.
    So the question is, how do I catch all the events fired in SharePoint and should it be a SharePoint hosted app that does it?
    Any thoughts on how to solve this?
    Thanks.
    Thomas Bomann, simplySo

    Hi,
    According to your description, my understanding is that you want to track all the event fired in SharePoint .
    Listen to the events in SharePoint needs Server side code, see the article below:
    Programming Event Handling in Windows SharePoint Services
    In SharePoint hosted app, it needs to use Client Object Model, so there is no such Client API to meet the requirement.
    More information:
    JavaScript Client Object Model in SharePoint 2013
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Write To A URL And Communicate With A Host Server

    The java.net.URL is the package we use to read from and write to existing web pages. I have a Java program that imports the java.net.URL and reads and extracts some information from web pages. However, it is only the latter half of the task.
    How does a Java program interact with; for example, cgi-bin scripts, on the server side provide that I have no idea about the contents of the cgi-bin scripts?
    What I mean is that:
    Many HTML pages contain forms-- text fields and other GUI objects that let us enter data to send to the server. After we type in the required information and initiate the query by clicking a button, the Web browser writes the data to the URL over the network. At the other end, a cgi-bin script (usually) on the server receives the data, processes it, and then sends us "a response", usually in the form of a new HTML page. As I stated in the beginning of this post, I have prepared a Java program to read the responding HTML page.
    My question is regarding the first half of the process. How do I feed data in my Java program that initiate the query (instead of manually entering data in the text field) over the network for the host server to process? And then the Java program continues its work in reading the HTML page returned by the server? Provided that I do not know what kind of the program the hosting server uses to process the query.

    This is my problem. I do not have any idea about the program on the hosting server that processes the query and returns to output HTML webpage. I mentioned "cgi" just to give an example. Not to mention whether the program on the hosting server uses "GET" or "POST".
    Usually, we go to; for example, http://www.yahoo.com, and fill out its text field to make a query and then the yahoo returns a HTML page in response to our query.
    My task is to write a Java program to communicate with http://www.yahoo.com. I have to submit the query string in my Java program. I have no idea about what yahoo uses to process my query and my Java program must scan the HTML web page returned by the yahoo to pick up certain information from that page.

  • Difference between Personalized url and  Vanity url

    Hi All,
    Can any one plz let me know the difference between Personalized url and Vanity url interms of Weblogic Portal ?
    thanks,
    XXXXX

    I'm not familiar with these concepts of personalized URLs and vanity URLs, but after a little bit of research it appears to pose the same issues as Search Engine Optimization as it relates to informative URLs.
    Search on this forum for Search Engine Optimization or SEO and you'll find some ideas that should be equally applicable to personalized/vanity URLs.
    Brad

  • Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API

    Hi All,
    In one of my tasks, I was struck with one issue, that is "While uploading multiple files into custom list with REST API".
    Iam trying to upload multiple files in library with REST calls for an APP development, my issue is if i wants to upload 4 image at once its storing only
    3 image file and further giving "Conflict" error". Below is the attached screenshot of exact error.
    Error within screenshot are : status Code : 409
    status Text :conflict
    For this operation i am uploading different files as an attachment to an list item, below is the code used for uploading multiple files.
    my code is
    function PerformUpload(listName, fileName, listItem, fileData)
        var urlOfAttachment="";
       // var itemId = listItem.get_id();
        urlOfAttachment = appWebUrl + "/_api/web/lists/GetByTitle('" + listName + "')/items(" + listItem + ")/AttachmentFiles/add(FileName='" + fileName + "')"
        // use the request executor (cross domain library) to perform the upload
        var reqExecutor = new SP.RequestExecutor(appWebUrl);
        reqExecutor.executeAsync({
            url: urlOfAttachment,
            method: "POST",
            headers: {
                "Accept": "application/json; odata=verbose",
                "X-RequestDigest": digest              
            contentType: "application/json;odata=verbose",
            binaryStringRequestBody: true,
            body: fileData,
            success: function (x, y, z) {
                alert("Success!");
            error: function (x, y, z) {
                alert(z);

    Hi,
    THis is common issue if your file size exceeds 
     upload a document of size more than 1mb. worksss well for kb files.
    https://social.technet.microsoft.com/Forums/office/en-US/b888ac78-eb4e-4653-b69d-1917c84cc777/getting-error-while-uploading-multiple-files-in-sharepoint-hosted-app-in-2013-with-rest-api?forum=sharepointdevelopment
    or try the below method
    https://social.technet.microsoft.com/Forums/office/en-US/40b0cb04-1fbb-4639-96f3-a95fe3bdbd78/upload-files-using-rest-api-in-sharepoint-2013?forum=sharepointdevelopment
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How to Upload the files into the SiteAssets Library by SharePoint Hosted App Model

    I want to upload the Jquery and supported files in to the Site Assest library by SharePoint Hosted Apps,
    I have created a SharePoint Hosted App, added the files in the Modules
    <Module Name="ZoneTabsFiles" Url="SiteAssets">
    <File Path="ZoneTabsFiles\jquery-1.11.2.min.js" Url="jquery-1.11.2.min.js" ReplaceContent="TRUE" />
    <File Path="ZoneTabsFiles\jquery-ui.css" Url="jquery-ui.css" ReplaceContent="TRUE" />
    <File Path="ZoneTabsFiles\jquery-ui.min.js" Url="jquery-ui.min.js" ReplaceContent="TRUE" />
    <File Path="ZoneTabsFiles\ZoneTabs.js" Url="ZoneTabs.js" ReplaceContent="TRUE" />
    </Module>
    The Apps is successfully getting activated but the files are not visible,
    Similarly I want to upload the .webpart file to webpart catalogs.
    <Module Name="ZoneTabsWebpart" List="113" Url="_catalogs/wp" Path="lists\wplib" RootWebOnly="TRUE">
    <File Url="ZoneTabs.webpart" ReplaceContent="TRUE" />
    </Module>
    The Functionality I can achieve Provider Hosted app, but Can it be done by SharePoint Hosted apps,
    Currently the app has the permission of Full Control on Site and Web 
    Thanks in advance

    Hello Ashok,
    you can use JSOM to provision the webpart files in SharePoint hosted app.
    Please see the below article for more details.
    http://www.sharepointnutsandbolts.com/2013/05/sp2013-host-web-apps-provisioning-files.html
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Sharepoint-Hosted App giving FORBIDDEN error when i use REST Api

    Hi,
    I have created a sharepoint hosted app which will create Team site on button click.
    I used REST Api  and  NAPA Tool to develop this app.
    Napa tool gives to things ClientWebpart.aspx and Default.aspx.
    When i run my Default.aspx code is working fine but ClientWebpart.aspx is giving FORBIDDEN error when i am trying to create site.
    Below is the code which i used to create site
    code:
    var hostweburl;
    var appweburl;
    $(document).ready(function () {
    hostweburl= decodeURIComponent(getQueryStringParameter("SPHostUrl"));
    appweburl = decodeURIComponent(getQueryStringParameter("SPAppWebUrl"));
    function createSPWeb() {
    $.ajax(
    url: appweburl +
    "/_api/SP.AppContextSite(@target)/web/webinfos/add?@target='" +
    hostweburl + "'",
    type: "POST",
    data: JSON.stringify(
    'parameters':
    '__metadata': { 'type': 'SP.WebInfoCreationInformation' },
    'Url': 'RestSubWeb',
    'Title': 'RestSubWeb',
    'Description': 'REST created web',
    'Language': 1033,
    'WebTemplate': 'sts#0',
    'UseUniquePermissions': false
    headers: {
    "accept": "application/json;odata=verbose",
    "content-type": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val()
    success: successHandler,
    error: errorHandler
    NOTE:This is on sharepoint online.
    Please help
    Regards,
    sudeep

    So in the app you are testing, are you using the FQDN or the NetBIOS name? Bad practice but could you test with both (hard code the absolute URL for testing purposes) then retest your app?
    If you are making a web part based on the new app model this will be an "app part" and probably have the same issues you are experiencing. If this is for something internal rather than a product you are developing to resell then the script editor /
    content editor web part approach could work for you.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • SharePoint hosted app issue - This page cannot be displayed

    Hi All, need help on below issue, 
    When I deploy SharePoint hosted app from Visual Studio 2012, it generated app web URL and that opens the app properly. But, if I upload .app file after
    publish in Visual Studio 2012 to App Catalog and added new app based on my SharePoint hosted app. When try to click on app, saying ‘This page can’t be displayed’ in internet explorer. I don’t think so it will be issue with app domain as the app working fine
    if deploy from visual studio. Thanks in advance for your help.

    It may still be an issue with the app domain, actually with DNS.  When you deploy from VS 2012 it automatically adds the appropriate DNS entries to the Hosts file on your VS 2012 PC.  That way the App domain can be resolved and you can reach the
    site.  When you deploy by uploading to the App Catalog that entry in the HOsts file is not created.  Instead you should ahve already added the App domain and a wildcard entry to the DNS server used in your network.  If that wasn't done then
    you will get exactly the behavior you describe.
    Take a look at the section on DNS in the following article.  Make sure you've followed all the instructions.
    http://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

Maybe you are looking for

  • LabView for ARM - MCB2300 Audio

    Hi, and thanks for reading!   My name is Chuck and I'm an undergrad ME student taking a mechatronics course. We were asked to create a proximity alarm with the MCB2300 and an IR proximity sensor. I have the entire program running correctly, but this

  • Solaris 10 gen the panic message and let the server auto reboot

    My Solaris 10 server would auto reboot at anytime. I think is ip:tcp_unfuse problem. But I don't know how to fix it. Anyone know how to fix this problem!!!!!!! Many Thanks! The following is error information # mdb 0 ::statusdebugging crash dump vmcor

  • Run-time error 53 File not found (makes BI Publisher quite unuseable!)

    Upgraded to BIP v 10.1.3.3.2 Open a template with the template builder Load a source XML file Proceed to choose Insert-> Field.... Microsoft message pops up: Microsoft Visual Basic Run-time error '53': File Not Found. This error, according to Microso

  • Dashboard Widgets Partially Unresponsive

    Hi guys, My Dashboard widgets are partially unresponsive. For instance: I can enter text in the note widget but not click on the "i" button. ("i" buttons are unresponsive on all widgets) If I were to click on the weather widget it would shrink to a b

  • Cannot boot without without first booting to ubuntu live disk

    Hi All, I have a macbook pro late 2012 which had yosemite beta on it when I tried to install windows technical preview via bootcamp. Pretty bad idea, I suppose. However, this first went fine until some update on windows forced a reboot. After that it