We have a managed application published in Microsoft Partner Center, for preview audience.
We have both publisher and client tenants.
After installing the app into the client's tenant I can't access the log steam of the installed app from either publisher nor client tenants.
Adding Roles in Access Control IAM doesn't help.
When I'm trying to open Log Stream i can see only "connecting....".
If i turn on developer tools and open Network i see the "/api/logstream/" requests and "403 Forbidden" response. Adding a screenshot: .
How can i fix this?
Any help would be much appreciated, thanks in advance.
Looks like it's some sort of a bug as LogStream doesn't work on web portal, however it works in the VisualStudio Code.
Who might have thought, right ?
First, you should install Azure Tools. Next step is to sign-in with your account.
After that, you can open log stream:
Subscription / AppServices / Your App / Logs / Connect To Log Stream
Related
I have created a new MVC application with windows authentication and without doing any changes to application, I have deployed to Azure App Service.
When I browse the URL I am getting the message as "You do not have permission to view this directory or page.".
When I check the "DetailedErrors" folder, it was "IIS Detailed Error - 401.0 - Unauthorized".
I have referred many post with this issue. But none of the solution mentioned in the post solved my issue.
Please let me know what configuration I am missing.
Thanks
Windows authentication is not supported in App Service.
In order for IWA to work, the server would need to be AD joined.
You do not have that level of access in App Service.
https://devblogs.microsoft.com/premier-developer/moving-legacy-asp-net-apps-with-windows-authentication-to-azure-app-service-part-1/
You will have to migrate to e.g. Azure AD authentication or host the app on a platform that supports IWA.
Azure endpointName.azureedge.net created successfully but while accessing Endpoint url it show error
You do not have permission to view this directory or page.
Did I need to add Custom domain to work it out.
Please guide me.
Which endpoint do you add in Azure CDN profile? If adding Azure web app as its endpoint, which language do you use to develop your web app? From my experience, Please try to input detailed path in your url, for example https://endpointName.azureedge.net/default. We can also set default page at Azure web app Application settings like below screenshot:
Build your solution in release mode
Try to publish it with using publish option of project then check
I'm getting this alert but I can't seem to find any information related to it online. I seem to be getting it 4 times every 6 hours. I have a SQL database up and running with Microsoft's test AdventureWorks db on it, and 5 test VMs that are all deallocated. Anyone had this and solved it, or know where to guide me to get this resolved?
Only other thing I can find is this, which doesn't seem to apply, as I have no web apps or services installed: https://social.technet.microsoft.com/Forums/en-US/f2a8b549-3be7-413e-a233-cf66acf9fd8b/portal-is-having-issues-getting-authentication-token-in-azure?forum=windowsazuremanagement
App Service Authentication/Authorization is exposed in the Azure Preview Management Portal. To enable it, navigate the Settings blade of any Web or Mobile App and select Authentication/Authorization. Flip the switch to On to view the options for protecting your site.
For more information, kindly refer the link given below:
click here
Hope this helps.
What I have:
VS2015U2
ASP.NET 5 MVC 6 website
Deployed to Azure Web App
The site works locally
When I deploy to Azure I get internal server error (500)
I'm unable to Attach a debugger since they messed up something with the latest versions (tried manually too https://azure.microsoft.com/en-us/blog/introduction-to-remote-debugging-on-azure-web-sites/)
I have app.UseDeveloperExceptionPage(); but I guess the site is failing during configuration so it doesn't display any other information.
So how to resolve this? I need to see the .net exception but I have no idea how to do that.
Try adding Application Insights to the app. You should see errors on startup of your application.
I would also take a look at your startup code to see if you are writing to disk anywhere during configuration or app.start. This might be the case if you are using AAD in any capacity.
You can also hit up the KUDU console by targetting https://sitename.scm.azurewebsites.net . You will be able to navigate in the debugging console to see the RAW logs from IIS. That might shed some light into the situation. See KUDU for more info.
I solved this problem like show below.HTTP 500 error interested about that is not allowed to access the server.Go to azure portal address and choose your database.Press"Set server firewall " and Allow Azure services and resources to access this server choose "Yes" save that page and refresh your service.Than you can see your data
Use the KUDU console at https://sitename.scm.azurewebsites.net
Go to web.config file and check if the process path is correct.
I used the Azure Log Stream to help figure out what was going on. As Karishma Tiwari - MSFT said, the issue ended up being my web.config file (which was built for .NET 3.5 and not 4.7)
Here's the tutorial to set up Log Streaming: https://blogs.msdn.microsoft.com/azureossds/2016/09/28/how-to-identifyreview-errors-on-php-applications-in-azure-web-apps-using-log-stream-service/
My particular app's solution was to update my Azure App Service to use .NET 3.5, in its Application Settings, like so:
For me it worked after I turned "Allow Azure services and resources to access this server
" to Yes
I got this error even though I had enabled Application Logging (Filesystem), Detailed error messages and Failed request tracing in App Service logs
This page isn’t working
mysite.azurewebsites.net is currently unable
to handle this request.
HTTP ERROR 500
However by navigating to Log stream and selecting Application Logs I could see a detailed error message:
I know this question has already been answered but here is a recent view of the Azure Portal where I found a solution to this problem
I'm calling an Azure Mobile Service from a Windows Phone 8 emulator.
Sometimes I receive a MobileServiceInvalidOperationException with no InnerException property. In Fiddler, I see the response contains only 400 - Bad Request. No further details.
How do I diagnose these problems? Are there any server-side logging tools on Azure Mobile Services to aid me?
I found the answer myself. I'll share it with you in case another Azure Mobile Services beginner is looking for this.
On the Azure management portal, go to your mobile service. There is a "Logs" tab which records server-side errors. That's all I needed: