Azure AD Log Analytics KQL queries via API with PowerShell

Log Analytics is a fantastic tool in the Azure Portal that provides the ability to query Azure Monitor events. It provides the ability to quickly create queries using KQL (Kusto Query Language). Once you’ve created the query however you may want to run that query through automation negating the need to use the Azure Portal every time you want to get the associated report data.

In this post I detail;

  • creating a Log Analytic Workspace
  • enabling API Access
  • querying Log Analytics using the REST API with PowerShell
  • outputting data to CSV

Create a Workspace

We want to create a Workspace for our logs and queries.… [Keep reading] “Azure AD Log Analytics KQL queries via API with PowerShell”

Getting Started with Amazon Connect

This article is the first in a series of articles where we will be taking a look at Amazon Connect. Amazon Connect is a self-service, cloud-based contact center service. This first article wakes through the steps required to get an Amazon Connect (hereby referred to simply as connect) instance up and running. Future articles will look at implementing additional features and logic and how they might be used to provide additional value.

Get Started

Getting things started is as simple as logging into your AWS account and browsing to the Connect Management console.… [Keep reading] “Getting Started with Amazon Connect”

Weekly AWS Update: Friday 17th May 2019

Well, it’s been over a month since my last AWS Weekly Update, so we’ve got quite a lot to cover in this weeks update. There have been quite a few releases over the last month that help to solve a wide array of issues and provide more functionality for cloud architects. From New AWS Lambda support to new features in the world of EC2 management. And let’s not forget one of the big announcements I’ve personally been waiting for, the Transit Gateway support for Direct Connect.… [Keep reading] “Weekly AWS Update: Friday 17th May 2019”

Windows Terminal with Tabs, on Steroids

At Microsoft Build last week, one of the many announcements was a new Windows Terminal.

If you spend anytime as an IT Support Person/ DevOps type role and you checkout that second link above you’ll be mightily keen for this new Terminal.

Tabs in a Terminal Window YES (heck I remember paying for a product to provide that to me in a browser) 15+ years ago; a Terminal Window that is a standard command prompt (with Unicode Support) YES; a Terminal Window for cross platform, CMD, PowerShell, PowerShell Core, Windows Subsystem for Linux DAMN YES. … [Keep reading] “Windows Terminal with Tabs, on Steroids”

Apply custom css to SharePoint Modern Pages using SPFx webpart

With the absence of content editor web part (CWEP) or script editor web part in SharePoint Modern experience, power users have the challenge to style the page as per their requirements.

The only approach is to create a custom SPFx component that can add the custom css onto the page. That’s it !! Easy right. But how to do it? In this blog we will look at the steps for the same and is also a link (with steps) in case to easily build it.… [Keep reading] “Apply custom css to SharePoint Modern Pages using SPFx webpart”

Dev Tips : Planning IE11 compatibility with SPFx components and PnPJS library

One of the common challenges I encounter when working with SPFx components is that the app doesn’t work with IE11 as expected even though it works fine with other browsers. This has delayed many of my projects and puts a lot of risk on production releases. Hence in this blog, I will try to call out some of the challenges that we might run into when deploying complex SPFx components in IE11 and other older browsers, and some workarounds/rectifications for the same.… [Keep reading] “Dev Tips : Planning IE11 compatibility with SPFx components and PnPJS library”

Introducing GraphQL API – A Historical Preview

 

Application Programming Interface, commonly known as API, is a set of functions that allow downstream applications capability to access the features or data of a black box business application. In the current age of computer applications, APIs are abundantly available and are the cornerstone of business strategies; however, the beginning of APIs consisted of confusing approaches related to documentation and implementation of the code coupled with the high code complexity. Initially, the concepts of middleware, such as CORBA and RPC, capable of some interoperability gave rise to API frameworks, such as SOAP.… [Keep reading] “Introducing GraphQL API – A Historical Preview”

Export Azure IaaS VM properties, including NIC IP address to CSV, #PromptPowerShell

Originally posted on Lucian.Blog. Follow Lucian on Twitter.

The other day I needed to export some data from Azure. I needed an output of all the IaaS VM instances high level configuration for a customer. Namely I needed the resource group, the hostname and the IP address of the instances to forward across for some cross reference analysis.

Now, I’ve had the unfortunate mishap of losing my PowerShell script repo during the change over / migration from my Macbook to my current Surface Pro.… [Keep reading] “Export Azure IaaS VM properties, including NIC IP address to CSV, #PromptPowerShell”

Troubleshoot Intune app and profile installation issues, error “NOTNOW”

On Microsoft Intune Mobile Device Management (MDM) managed devices, sometimes app or profile installations can fail. When these app or profile installs fail, it can be challenging to understand the failure reason or troubleshoot the issue. Microsoft Intune provides app installation failure details that allow help desk operators and Intune administrators to view app information to address user help requests. The troubleshooting pane within Intune provides failure details, including details about managed apps on a user’s device.… [Keep reading] “Troubleshoot Intune app and profile installation issues, error “NOTNOW””

Using Amazon Alexa to drive a radio-controlled car – Part 1

First published on Nivlesh’s personal blog at https://nivleshc.wordpress.com

Introduction

Over the Easter holidays, while watching my son play with his radio-controlled toy car, I had a strange thought pop into my head. Instead of using the sticks on the remote control, won’t it be cool to control the car by using just your voice? You could tell the car to move forward, backward, left or right. What if you could save all the moves you have asked the car to take so far and then at a later time, get the car to replay all those moves?… [Keep reading] “Using Amazon Alexa to drive a radio-controlled car – Part 1”