Skip to content

Instantly share code, notes, and snippets.

@niven01
niven01 / azuread_application_from_template.txt
Last active May 22, 2024 14:43
azuread_application_from_template
============================= End AzureAD Response ============================: timestamp=2024-05-22T13:34:59.071Z
2024-05-22T13:34:59.075Z [INFO] provider.terraform-provider-azuread_v2.50.0_x5: 2024/05/22 13:34:59 [DEBUG] Unlocking "azuread_application.ea5fe2bc-58c1-483e-bd4f-40c560986ebc": timestamp=2024-05-22T13:34:59.075Z
2024-05-22T13:34:59.075Z [INFO] provider.terraform-provider-azuread_v2.50.0_x5: 2024/05/22 13:34:59 [DEBUG] Unlocked "azuread_application.ea5fe2bc-58c1-483e-bd4f-40c560986ebc": timestamp=2024-05-22T13:34:59.075Z
Error: -22T13:34:59.076Z [ERROR] provider.terraform-provider-azuread_v2.50.0_x5: Response contains error diagnostic: diagnostic_severity=ERROR tf_proto_version=5.4 tf_provider_addr=provider diagnostic_summary="deleting Application From Template (Template ID: \"8b1025e4-1dd2-430b-a150-2ef79cd700f5\", Application ID: \"ea5fe2bc-58c1-483e-bd4f-40c560986ebc\", Service Principal ID: \"24cdec0c-d201-4af9-8752-fd5735276f2f\"): ApplicationsClient.BaseClient.Delete(): unexpected status
# Define the quiz questions and choices with numbers
$quizQuestions = @(
@{
QuestionNumber = 1
Question = "What is the powerhouse of the cell?"
Choices = "A. Nucleus", "B. Cell membrane", "C. Mitochondria", "D. Chloroplasts"
CorrectAnswer = "C"
EvidenceLink = "https://en.wikipedia.org/wiki/Mitochondrion"
},
@{
@niven01
niven01 / linux_provision_vm.sh
Created May 18, 2022 12:15
linux_provision_vm.sh
#!/bin/bash
## Format and Mount Data Disks
for LUN in $(ls /dev/disk/azure/scsi1)
do
NUM=$(echo $LUN | grep -o -E "[0-9]+")
if [ -d "/data$NUM" ]
then
echo "Disk Exists"
else
@niven01
niven01 / alias.sh
Last active May 12, 2020 13:39
kubectl-aliases
alias k=kubectl
alias ns="kubectl create ns"
alias set-context=" kubectl config set-context $(kubectl config current-context) --namespace="
alias