In Azure new portal how can we view the list of navigation history that we navigated before
I got the answer, In new Azure portal we have a service called "Recent" (see image below), add it to your favorite menu. It will show all the recently visited resources, just click and navigate to your recently visited resources.
Vijai, that's a good tip/place to view the navigation history on the Azure Portal.
If you wish, you may review your Activity Logs- Through this, you can determine:
what operations were taken on the resources in your subscription
who initiated the operation (although operations initiated by a backend service do not return a user as the caller)
when the operation occurred (in your case WebApps)
the status of the operation
the values of other properties that might help you research the operation
The activity log contains all write operations (PUT, POST, DELETE) performed on your resources. It does not include read operations (GET). You can use the audit logs to find an error when troubleshooting or to monitor how a user in your organization modified a resource.
Note: Activity logs are retained for 90 days. You can query for any range of dates, as long as the starting date is not more than 90 days in the past.
Related
I moved around 50 resources (includes DB, website, etc.) from one subscription to another subscription. Official status after moving was failed with error message:
All move in provider succeeded. However, the batch move job failed. The correlation id is...
However resources seems to work fine and they are in new subscription. Should I concern of something?
Thank you
Depending on the type of resources you moved, you could indeed have side effects.
You might have missed some components that are hidden - you can unhide by clicking this box in the portal or by querying Azure Graph.
Also, Microsoft deploys additional components in their backbone that you do not have control on (like network related policies for example). The migration can fail in the back while depicting a false success on your end. You should refer to move operations - supported services first, and most probably raise a case to check that everything went fine if all services you moved are supposed to be supported.
I have had an Azure SQL DB point in time restore running for two days. I want to cancel it as I think there is an issue. I can see the DB restoring in SSMS but can't find the deployment in my Azure Portal. Does anyone know how to cancel it? I have tried using Azure CLI but I can't see the resource.
It's called Azure Hiccups, it happened to me yesterday on Switzerland West region between 10:20 and 10:40.
I re-run it and everything was fixed.
If I check the Activity Log I can see the error:
But if I browse in the Service Health it says everything was good:
What to do in case of Azure Hiccups:
FIX: Re-run the task, hopefully it will fix the issue, like when you hit an old TV with your fist.
PREVENT: You can try to create an Activity Log alert but once again it will be based on Service Health (which says that everything is good) and not on the actual Activity Log. So you will probably miss issues like this and will discover the problem 24h later.
POST-MORTEM: You can take a screenshot of the failed task/service in the Activity Log, show it to Microsoft and ask for a refund if possible. For the future you can check the current status of Azure in the official Status page and subscribe to the RSS feed. You can browse the Azure Status History. But as I said none of the last two reports the Azure Hiccups so the screenshot of the Activity Log is still the only proof that a tree yesterday has fallen in the forest.
As Microsoft SLA says that the High availability for Azure SQL Database and SQL Managed Instance is 99.99% of the year you can start collecting those screenshot and open tickets with their support.
After dropping the Database this morning, the operation status of which was unsuccessful. The Restore has finally been canceled 8 hrs after attempting to drop the database.
Found a solution, just create a new database of the same name. And the restoring one will be replaced with the one created, then you can delete it.
I want to have a control in Azure regarding new and deleted items
I need a query to know "who" and "when" a resource is created or deleted in Azure
Is this possible? How can I do this query?
I need a query to know "who" and "when" a resource is created or
deleted in Azure
Is this possible? How can I do this query?
Whenever a resource is created or deleted, information about that operation is stored in Azure Activity Logs. You should be able to find the information by querying that.
Another alternative would be to make use of Azure Event Grid and subscribe to Subscription Events. You can subscribe to Microsoft.Resources.ResourceWriteSuccess (for creation/updation of resources) and Microsoft.Resources.ResourceDeleteSuccess (for resource deletion) events and take action on these events in near real time.
Within the Azure Portal, you can view these types of events from the past 90 days in the Activity Log blade.
For access to events occurring more than 90 days in the past, you need to pre-emptively set up log archival as detailed in the Export the Azure Activity Log article.
If you are planning to use the export Activity Log feature, please make sure you use the new diagnostic setting feature on Azure subscription to export Activity Logs. This feature offers multiple improvements over the old features such as Logprofiles or the Activity Log solution (Log Analytics).
https://learn.microsoft.com/en-us/azure/azure-monitor/platform/activity-log-collect
https://learn.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings-template
In my company we have one Azure subscription and there are two or three users which are added on the same subscription and have right to create any resource on Azure.
Now since three users are working on same subscription and they are independently creating resources, I want to keep track or see which user created what resource on the same subscription.
Please let me know is there any way to see this tracking/activity details corresponding to the user.
Currently all users have administrator role/permission.
You are looking for the Activity Log:
The Azure Activity Log is a log that provides insight into the
operations that were performed on resources in your subscription
The Activity Logs provides customers a Portal and REST API experience to see who performed what management operations (PUT/DELET/POST) through Azure Resource Manager (ARM) for the past 90 days.
For anything older than 90 days, you have the option to archive the data to storage account or stream the data to Event Hub if you would like to ingest this data into your own system.
The Activity Log data is also available through the Operations Management Suite.
http://www.deployazure.com/management/operations-management-suite/azure-activity-log-analytics-alerts-with-operations-management-suite/
Every attempt I have made across the past month to add Monitoring Rules to Virtual Machines or Cloud Services within our Azure subscription results in an error, and the error itself is not providing any useful information (it seems to be pointing to a non-existent microsoft schema:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">{"Code":"BadRequest","Message":""}</string>
Steps to Recreate:
Login to Azure Management Portal (Standard - not the Preview portal)
Choose Virtual Machines
Choose a Virtual Machine from the list
Choose the 'Monitor' option
Choose 'Add Rule' from the bottom ribbon
Complete first screen of rule information (Name, Description - Alpha characters only)
Click Next Arrow
Complete Next Screen ('Greater than', 70, 'Average over the last five minutes')
Choose either of the Actions for email options, complete relevant information
Tick 'Enable Rule' (ticked by default)
Tick Check Box to complete and submit
System provides a notification in the bottom ribbon that it
Could not create rule 'RuleName'.
Clicking 'Details i' Provides an error message that in itself seems to be an error attempting to access a microsoft library element:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">{"Code":"BadRequest","Message":""}</string>
The url referenced leads to the following error message:
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
I am looking for a solution that will allow me to complete the creation of the rule - the badly formed error message / updated schema would only be helpful if it led to a better understanding of the error.
The same result is obtained when attempting to create an email alert / rule through the Management Services module in the portal.
I cross posted this to the MSDN network. Another individual chimed in indicating they were having the same issue - and a Microsoft Moderator asked me to check again, as it was working for him.
Portal definitely updated, and now both the Management Services module, and monitoring from the VM module are successfully creating rules.