@Jatin Lingwal , thank you for posting this question on Microsoft Q&A.
I understand that you are trying to query AzureDiagnostics table in Log Analytics workspace. The error that you are getting is because AzureDiagnostics
table does not have the following columns as used in the query:
- CredentialEndDate
- Result
To resolve this error, use only those columns names in query with where
operator, which are available in this table. To get the list columns available with this table, please see Azure Monitor Logs: AzureDiagnostics.
Hope this helps.
If the answer did not help, please add more context/follow-up question for it, and we will help you out. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.