Issues when trying to launch provider-hosted app from Azure

%3CLINGO-SUB%20id%3D%22lingo-sub-1049488%22%20slang%3D%22en-US%22%3EIssues%20when%20trying%20to%20launch%20provider-hosted%20app%20from%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1049488%22%20slang%3D%22en-US%22%3E%3CDIV%20style%3D%22box-sizing%3A%20border-box%3B%20font-family%3A%20'Segoe%20UI'%2C%20'Helvetica%20Neue'%2C%20'Apple%20Color%20Emoji'%2C%20'Segoe%20UI%20Emoji'%2C%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-style%3A%20normal%3B%20font-variant-ligatures%3A%20normal%3B%20font-variant-caps%3A%20normal%3B%20font-weight%3A%20400%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20start%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20white-space%3A%20normal%3B%20widows%3A%202%3B%20word-spacing%3A%200px%3B%22%3EHello%2C%20I'm%20trying%20to%20publish%20a%20SP%20provider-hosted%20add-in%20to%20Azure.%20It%20seems%20to%20work%20in%20that%20when%20I%20publish%20from%20Visual%20Studio%20to%20Azure%2C%20I%20have%20no%20issues%26nbsp%3Bbut%20when%20I%20click%20on%20the%20link%20(....azurewebsites.net)%20that%20Azure%20provides%20for%20the%20web%20app%20I%20get%20app%20cannot%20be%20displayed%20because%20an%20internal%20server%20error%20occurred.%20Should%20I%20be%20able%20to%20launch%20my%20MVC%20app%20from%20Azure%26nbsp%3Bwithout%20issue%20or%20do%20I%20have%20to%20package%20it%20and%20then%20upload%20the%20.app%20file%20to%20SP%20to%20get%20this%20to%20work%3F%20I%20have%20gone%20thru%20the%20.appregnew%20process%20on%20SP%20Online%20and%20supplied%20the%20clientID%20and%20secret%20when%20prompted%20during%20the%20deploy%20to%20Azure%20from%20VS%20process.%20Most%20of%20the%20examples%20I've%20seen%20include%20additional%20steps%20to%20upload%20the%20application%20to%20SP%20and%20I%20don't%20understand%20why%20since%20I%20don't%20want%20SP%20to%20host%20my%20app%20but%20I'd%20like%20to%20run%20it%20from%20Azure.%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1051354%22%20slang%3D%22en-US%22%3ERe%3A%20Issues%20when%20trying%20to%20launch%20provider-hosted%20app%20from%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1051354%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F478869%22%20target%3D%22_blank%22%3E%40jski2019%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3Ewhich%20kind%20of%20error%20occurred%3F%3C%2FP%3E%3CP%3EDid%20you%20try%20to%20run%20from%20SharePoint%20website%2C%20with%20just%20a%20click%20from%20your%20SP%20Add-in%20after%20installed%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3EFederico%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Microsoft
Hello, I'm trying to publish a SP provider-hosted add-in to Azure. It seems to work in that when I publish from Visual Studio to Azure, I have no issues but when I click on the link (....azurewebsites.net) that Azure provides for the web app I get app cannot be displayed because an internal server error occurred. Should I be able to launch my MVC app from Azure without issue or do I have to package it and then upload the .app file to SP to get this to work? I have gone thru the .appregnew process on SP Online and supplied the clientID and secret when prompted during the deploy to Azure from VS process. Most of the examples I've seen include additional steps to upload the application to SP and I don't understand why since I don't want SP to host my app but I'd like to run it from Azure.
1 Reply
Highlighted

Hi @jski2019 ,

which kind of error occurred?

Did you try to run from SharePoint website, with just a click from your SP Add-in after installed?

 

Cheers,

Federico