Episode 180 – JSON All The Things!

Microsoft Cloud IT Pro Podcast - En podcast af Ben Stegink, Scott Hoag - Torsdage

Kategorier:

In Episode 180, Ben and Scott talk through a recent experience Scott had when working with service principals in Azure AD for use with Azure Kubernetes Service. They also get into some of the fun that can be had with parsing JSON from the command line with jq and JMESPath.

Sponsors

* ShareGate – ShareGate’s industry-leading products help IT professionals worldwide migrate their business to the Office 365 or SharePoint, automate their Office 365 governance, and understand their Azure usage & costs
* Sperry Software – Powerful Outlook Add-ins developed to make your email life easy even if you’re too busy to manage your inbox
* Office365AdminPortal.com – Providing admins the knowledge and tools to run Office 365 successfully
* Intelligink – We focus on the Microsoft Cloud so you can focus on your business

Show Notes

* ./jq
* JMESPath
* Query Azure CLI command output
* Kubernetes JSONPath Support
* az aks

CLIENTSECRETVALID=""
while [ -z $CLIENTSECRETVALID ]; do
echo "Creating new SP and secret..."
CLIENTSECRET=$(az ad sp create-for-rbac --skip-assignment -n $SPNAME -o json | jq -r .password)
if [[ $CLIENTSECRET == *"'"* ]]; then
echo "Found invalid character. Recreating..."
CLIENTSECRETVALID=""
elif [[ $CLIENTSECRET == *"\`"* ]]; then
echo "Found invalid character. Recreating..."
CLIENTSECRETVALID=""
else
echo "Appears valid..."
CLIENTSECRETVALID="true"
fi
done
echo "CLIENTSECRET ready: ${CLIENTSECRET}"

About the sponsors




Every business will eventually have to move to the cloud and adapt to it. That’s a fact. ShareGate helps with that. Our industry-leading products help IT professionals worldwide migrate their business to the Office 365 or SharePoint, automate their Office 365 governance, and understand their Azure usage & costs. Visit https://sharegate.com/ to learn more.



Sperry Software, Inc focuses primarily on Microsoft Outlook and more recently Microsoft Office 365, where a plethora of tools and plugins that work with email have been developed. These tools can be extended for almost any situation where email is involved, including automating workflows (e.g., automatically save emails as PDF or automatically archive emails that are over 30 days old), modifying potentially bad user behaviors (e.g., alert the user to suspected phishing emails or prompt the user if they are going to inadvertently reply to all), and increased email security (e.g., prompt the user with a customizable warning if they are about to send an email outside the organization). Get started today by visiting www.SperrySoftware.com/CloudIT



Intelligink utilizes their skill and passion for the Microsoft cloud to empower their customers with the freedom to focus on their core business. They partner with them to implement and administer their cloud technology deployments and solutions. Visit Intelligink.com for more info.

Visit the podcast's native language site