Sharepoint 2013 App Content Blocked

Working to get apps working correctly in our on prem sharepoint deployment. Seems like I have everything working correctly but... I keep getting the error message below when I go to access an app. From what I've read I believe its something with how I've
entered the DNS CNAME for the apps (sub) domain but no matter what I try I can't figure it out. Any suggestions would be appreciated. 

If I'm reading your response right, then the answer is no.  Here's the problem.  YOur regular SharePoint site and the wildcard cert you normally use is for servicebrands.net.  But your Apps domain is a subdomain apps.servicebrands.net.  The
SSL cert for servicebrands.net is not valid for the subdomain Apps in servicebrands.net.  For that you would need an SSL cert specifically for *.apps.servicebrands.net.  if you were going to any web page in apps.servicebrands.net the address would
be something.apps.servicebrands.net so *.servicebrands.net isn't a valid SSL cert.  So if SUB is a sitename (sub.serviceapps.net) in your example above, then yes the cert would work.  but not for sub.apps.serviceapps.net.  You need a different
SSL cert if you use a full subdomain.
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.

Similar Messages

  • SharePoint 2013 App Custom Action in Wiki Page

    Hi
    I am trying to create a SharePoint 2013 App that also has a  Custom Action that has to be visible in Pages tab. Code below
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="COB.SharePoint.Ribbon.NewGroupInExistingTab"
    Location="CommandUI.Ribbon" >
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Templates._children">
    <GroupTemplate Id="Ribbon.Templates.NewGroupInExistingTab.OneLargeExample">
    <Layout Title="NewGroupInExistingTabOneLarge" LayoutTitle="NewGroupInExistingTabOneLarge">
    <Section Alignment="Top" Type="OneRow">
    <Row>
    <ControlRef DisplayMode="Large" TemplateAlias="Button1" />
    </Row>
    </Section>
    </Layout>
    </GroupTemplate>
    </CommandUIDefinition>
    <CommandUIDefinition Location="Ribbon.WikiPageTab.Scaling._children">
    <MaxSize
    Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup.MaxSize"
    Sequence="15"
    GroupId="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup"
    Size="NewGroupInExistingTabOneLarge" />
    </CommandUIDefinition>
    <CommandUIDefinition Location="Ribbon.WikiPageTab.Groups._children">
    <Group
    Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup"
    Sequence="15"
    Description="Custome Actions"
    Title="Oltiva DW"
    Template="Ribbon.Templates.NewGroupInExistingTab.OneLargeExample">
    <Controls Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup.Controls">
    <Button
    Id="COB.SharePoint.Ribbon.NewGroupInExistingTab.NotificationGroup.ContentSources"
    Command="COB.NewGroupInExistingTab.Command.Notify"
    Sequence="10"
    Image16by16="/_layouts/images/NoteBoard_16x16.png"
    Image32by32="/_layouts/images/NoteBoard_32x32.png"
    Description="Uses the notification area to display a message."
    LabelText="Content Sources"
    TemplateAlias="Button1"/>
    </Controls>
    </Group>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="COB.NewGroupInExistingTab.Command.Notify"
    CommandAction="~remoteAppUrl/Pages/Default.aspx?{StandardTokens}"
    />
    </CommandUIHandlers>
    </CustomAction>
    </Elements>
    The above code works fine, but I want the Custom Action to Open in a new Pop up box, like 
    javascript:SP.UI.ModalDialog.showModalDialog({ url: 'www.google.com', title: 'Default' });
    The movement I change the CommandAction to JavaScript, the app breaks, if I remove the ~remoteAppUrl/Pages/.... the app does not work, it does not apper in the site content.  and in appcatalog it shows wrong version number and says Valid App package
    as no.  what am I doing wrong.
    Regards, Vikram

    Hi Carl,
    As a security policy, a new customer cannot upload images and links. You can try to add links as text and upload your images to Onedrive and share it temporarily.
    Thanks,
    Eric
    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]
    Eric Tao
    TechNet Community Support

  • Unable to open any Sharepoint 2013 Apps

    Hi all,
    I am having an issue whenever I try and open third-party SharePoint 2013 Apps on our on-premises server. I have configured the app domain as per
    http://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx and installed some random third-party apps (eg. "Yammer App for SharePoint", "Corporate News App").
    I can go to the Microsoft Store and purchase apps and make them available to sites, however whenever I go to any of these sites "Site Contents" page and click to open any of the Apps it ends up redirecting the user back to the top-level sites homepage.
    Initially it was freezing on a blank page, but looking through the logs on the server there was an authentication error with a service account password. Having resolved that issue it now just returns to the homepage of the top-level site.
    Looking through the logs it appears that it gets redirected to the appropriate app domain URL, it then gets an Access Denied errors and attempts to redirect to an "Authenticate.aspx" URL in the apps domain. It then seems to fail authenticating
    with "Attempted to perform an unauthorized operation" and go back to the top-level site.
    A copy of the log file can be found at:
    http://insertdisk.com/log.txt
    The main sites web application is configured to use claims-based authentication via ADFS, anybody have any ideas?

    Hi  ,
    According to your description, my understanding is that you encountered an authentication error 
    when you try to open third-part SharePoint 2013 Apps on your on-premises server with ADFS authentication.
    Configuring the app domain is
     necessary for setting up SharePoint Apps Development environment. If you just install and open third-part SharePoint 2013 Apps, it is not necessary.
    Also for your issue, you can have a look
     to the blog:
    http://blogs.msdn.com/b/spses/archive/2014/01/17/how-to-use-adfs-with-sharepoint-hosted-apps-in-sharepoint-2013.aspx
    http://www.wictorwilen.se/sharepoint-2013-with-saml-claims-and-sharepoint-hosted-apps
    Thanks,
    Eric
    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]
    Eric Tao
    TechNet Community Support

  • How to create Ticket Booking Functionality in SharePoint 2013 App?

    We have created a Ticket Booking site in Asp.Net.
    In that in Ticket Booking page user can book the ticket and the booked seats will be stored in the database. If there are any booked seats it will be disabled for the user and from other user can book tickets.
    Took reference from this site:
    http://techbrij.com/online-ticket-booking-system-asp-net-sql-server
    Now I want to do same functionality using SharePoint 2013 App Part with SharePoint Hosted App.
    I don't know how to start
    Anybody having Idea.
    Thanks in Advance.

    Hi,
    According to your post, my understanding is that you want to create a Ticket Booking solution as SharePoint Hosted App.
    To build the similar solution in SharePoint, I would suggest you take a look at the links below about how to create ShrePoint Hosted App for a quick start:
    Create Host App:
    How to: Create a basic SharePoint-hosted app
    Create App Part:
    How to: Create app parts to install with your app for SharePoint
    Then for the data storage, here is a documentation will provide more information:
    App data storage:
    Data storage options in apps for SharePoint
    For the responsive UI, HTML plus JavaScript would be OK.
    Feel free to reply if there are still any questions.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to add List view to SharePoint 2013 app

    Hi
    I'm developing intranet metro style app as SharePoint 2013 auto hosted . i need to get promoted list to display in my app page as it is display in SharePoint host site. i have seen some blog post but no clue of detail way of doing it (http://www.greggalipeau.com/2013/12/25/adding-list-views-to-sharepoint-2013-apps)
    Can any one let me know how to do this in a way steps to follow or any information on this highly appreciated.
    Kind regards
    Radika 

    http://newscarrouselapp.codeplex.com/ Download sample
    http://nettitude.wordpress.com/2013/01/27/creating-a-carousel-in-a-sharepoint-app-using-client-side-rendering/
    http://webcache.googleusercontent.com/search?q=cache:t4nEmPtXxtQJ:sp2013.blogspot.com/2012/08/use-list-view-in-sharepoint-2013-apps.html+&cd=4&hl=en&ct=clnk&gl=in&client=firefox-a
    <WebPartPages:WebPartZone runat="server"
    FrameType="TitleBarOnly" ID="full" Title="loc:full" >
    <WebPartPages:XsltListViewWebPart ID="XsltListViewWebPart2"
    runat="server" ListUrl="Lists/SlideShow" IsIncluded="True"
    NoDefaultStyle="TRUE" Title="Slideshow Images"
    PageType="PAGE_NORMALVIEW" Default="False"
    ViewContentTypeId="0x">
    </WebPartPages:XsltListViewWebPart>
    </WebPartPages:WebPartZone>

  • Setting up SharePoint 2013 Apps in a load balanced environment

    All,
    Looking for some articles on how to configure SharePoint 2013 Apps in a load balanced farm (2 WFEs, 2 APP servers, 2 SQL DBs).
    Thank you!

    if the load balancing environment is already well configured, thes rest is very easy, there is no difference between a configuration of load balancing environment and a simple one, for you that is transparent, except the manual deployment and manual copying
    of files in the directory 15

  • Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    SharePoint app you mean a simple sharePoint 2013 application like site, team site etc, or do you mean an App (the new feature like webPart).
    To add a SSRS Report viewver web part follow these steps
    1. Edit the page
    2. Choose insert a webpart
    3.Select SQL server Reporting -> SQL Server Reporting Services Report Viewer webpart
    4. Configure the webpart to show your .rdl files.
    (See the img below. Plz mark as answered if it helps).

  • Server Error: Unexpected Error when running Napa SharePoint 2013 App

    I am getting an error "Server Error : Unexpected error" when I try to run a SharePoint 2013 app in Napa Development environment.
    It starts the process normally but after it shows "Uninstalling previous version" it throws the error. This has been happening since yesterday.Someone help

    I have a solution to the problem. I had a folder with a JSON file. On renaming the file to .txt, the app ran normally. I believe .json files are not supported in SharePoint hence the error.

  • Network Load Balancing between SharePoint 2013 App server and WFE

    Hi,
    Can we do NLB between SharePoint 2013 App server and WFE Server ?
    Below is our Architecture,
    1. WFE Server (1) 
    2. APP Server (1)
    3. Database Server
    4. Domain Controller
    We have configured NLB but, when we stop IIS on APP server, SharePoint 2013 web app link is not working. 
    is it possible ?
    Please help us

    You can do NLB between WFE and APP server however make sure that web application service is started from central admin which host sharepoint sites.
    Why do you stop IIS on APP server, definitely it will not be able to host web app sites. rather you can just disable APP node on NLB to test it.

  • SharePoint 2013 Apps shows 404 page not found on web front end servers.

    Hi All,
    We are implementing SharePoint Apps for our UAT environment with 1 application server and 2 WFEs. In our development server which is single server worked for implementing SharePoint Apps.
    All our web applications WFEs are hosted UAT environment and SharePoint Server 2013 is enterprise with this build number ​​15.0.4420.1017 (RTM). In the Application Server we enabled App management service and Subscription management through
    PowerShell.
    This DNS configuration is as follows:
    contoso.com with IP address for Application server (192.168.10.12) 2 different IP address for WFEs
      192.168.10.14/15).
    contoso-apps.com for wild card DNS required by SharePoint Apps and pointed to
    Application server (192.168.10.12).
    We have created self-sign certificate on one the WFE server, create a web application dedicated for SharePoint Apps
    without host header and bind the self – sign certificate to the SharePoint Apps web application. DNS is correctly configured on the WFE and we are able to
    ping abc.contoso-apps.com.
    The App Catalog site is working and we are able to download SharePoint apps. But for the WFEs, when go to SharePoint store 
    it does shows the content for Store and when download an app and click on Add IT and signed as Office ID we get 404 page not found.
    We referred the following sites that relate this 404 error:
    http://blogs.technet.com/b/sharepoint_-_inside_the_lines/archive/2013/06/23/404-amp-401-errors-with-the-app-management-service.aspx
    http://sharepointchick.com/archive/0001/01/01/setting-up-your-app-domain-for-sharepoint-2013.aspx
    http://absolute-sharepoint.com/2013/02/troubleshooting-setting-up-an-environment-for-apps-for-sharepoint-2013.html
    http://www.jeremythake.com/2013/12/troubleshooting-sharepoint-2013-hosted-apps-on-premises-404-not-found-error/
    https://samlman.wordpress.com/2015/03/01/planning-the-infrastructure-required-for-the-new-app-model-in-sharepoint-2013/
    But in my case we have already defined a blank host header for SharePoint Apps that we create previously.
    Is it because we not using latest patch as Steve Peschka that March PU fixed this issue?
    Any other solution we should look to fix this.
    Any suggestions would be greatly appreciated. 
    Sandy

    Your contoso-apps.com
    wildcard address should point to one of the WFE servers, not the Application server.  (Actually it should point to the load balancer for the WFEs, but you don't mention a load balancer.)  Apps generate a dynamic HTML web site on the WFE server.  If
    you point to the application server it may not be able to deliver that content if the Microsoft SharePoint Foundation Web Service isn't turned on.  (That's what makes a server a WFE)
    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.

  • Using SPServices and Knockout JS in SharePoint 2013 Apps

    Hi All,
    This is possibly the stupid question but please bear with me...
    I would like to develop App for SharePoint 2013 (which will be published to Microsoft SharePoint Store) which can be free and paid . Can I use javascript / client libraries like SPServices from CodePlex , JQuery, Knockout JS and Angularjs in my Apps
    Thanks in advance...

    Yes, you can use any client side technology as long it can call SharePoint API and parse result.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Uploading multiple documents into sharepoint list item with REST in sharepoint 2013 using content editor web part :

    hi ,
    i am trying to upload multiple document files into sharepoint list item. I followed below link for implementaion.
    http://techfindings-prem.blogspot.in/search/label/jquery.multifilejs
    It was working for sharepoint hosted app.
     This complete code is written within content edito web part.
    It was working when i was in root site collection with below change (hard coded the root level url) in code in "UploadFile" function.
    var scriptbase = "http://servername" + "/_layouts/15/";
                console.log(' File size:' + bytes.length);
                $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    But the issue came in picture when i was working with the other site collection instead of root one. The url was like below.
    "http://servername/sites/cpg/". This time i need to be there within "cpg" site collection. 
    Now if i hard code the url as i did above my code gets break here while come to below line
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
    I am getting error when i used below code:
    var scriptbase = "http://servername" + "/_layouts/15/";
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    Please hekp in this case. This complete code is written within content edito web part. 
    Regards:
    Sanjay Joshi

    Hi,
    According to your post, my understanding is that you have an issue about upload multiple documents files into library vai REST API.
    As you have said, you have used the hard code url in your code.
    How about use the _spPageContextInfo.webAbsoluteUrl method to get the url?
    I have used this method to get the url, then use the code in the article you have pasted within a content editor web part to upload the files.
    You can replace the hard code url with the _spPageContextInfo.webAbsoluteUrl method, then check whether it works.
    Thanks,
    Jason
    Jason Guo
    TechNet Community Support

  • Sharepoint 2013 app store issue i am unable to add apps on other web application

    Hi,
    Apps that require accessible internet facing endpoints-- this feature already activivated.
    but no luck i am unable to add apps on web application.
    kindly advise
    Saidireddy

    Hi,
    According to your post, my understanding is that you could not add apps on other web application.
    I recommend to create an empty-host header Web Application.  
    Here is a great blog for your reference: Configure an Environment for Apps for SharePoint 2013
    In addition, you can create App Catalog and run PowerShell commond to fix the issue.
    More information:
    SharePoint
    2013 - You receive "Sorry, apps are turned off. If you know who runs the server, tell them to enable apps" when trying to add Apps on Host Header site collection
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Making Sharepoint 2013 apps configurable

    Hi,
    We have created a sharepoint provider hosted app which adds a custom action to all the documents in the document library. Once the user clicks the action, sharepoint redirects the user to our existing product (running on apache tomcat). Our product then uses
    OAuth and Rest Api to read information from sharepoint online. Now the issue is that the app would deployed to our customers on a per customer basis. We can't put the app on the marketplace as our product doesn't support multiple tenancy. We will provide the
    .app files to the customers which they can deploy to their sharepoint. Currently we have to provide App Id and App Secret  while publishing the app. How can the customers modify the app files to change the app id , app secret and the redirect url of the
    app without using visual studio or any programming tool
    Thanks 
    Pranava  

    Hi,
    You could access below link may be that can help.
    You could specify the properties atleast, I do not know can you really change the app secret and app id too.
    http://www.sharemuch.com/2013/01/13/adding-app-part-properties-in-sharepoint-2013-hosted-apps/ 

  • Hosting SharePoint 2013 and content separation (Windows Server 2012)

    I have a windows 2012 server which hosts a ASP.NET 4.5 MVC website.
    I am interested in installing SharePoint 2013 on the same standalone server (which is a virtual cloud server, and easily scalable). I would like to be able to create separate instances of sharepoint for each of my customers (around 10), and provide them
    with a custom URL ie. customer.abc.com (where abc.com is my domain). These sites will be created programmatically when a user signs us to my site (they only require basic SharePoint functionality, i.e. the creation of team sites, notifications etc.)
    So:
    1) Can I install SharePoint 2013 at no extra cost on windows server 2012? (what are the limitations)
    2) Is it possible to create separate instances of sharepoint 2013 (in terms of config and content DB's)
    3) I'm sure there are many but what are some other considerations

    1) With SharePoint Foundation, SharePoint itself does not cost anything, but you must purchase User CALs for employees of your company, and User CALs for non-employees or a Windows External Connector license.
    2) No, you need to use multi-tenancy instead - http://www.harbar.net/articles/sp2010mt1.aspx
    Note that you must have Active Directory in this environment and the Server 2012 VM you currently have must be joined to the Active Directory domain.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for