In this lab, you will get a hands-on experience and learn how you can get started building plug-ins for Microsoft 365 Copilot. Exercise 1 – Download Source Code and Install and set up Teams Toolkit for Visual Studio CodeExercise 2 – Run sample appExercise 3 – Run the app in Microsoft Copilot for Microsoft 365 Follow the source-code.
Month: November 2023
UI tests with Playwright, Azure Load Testing and resilience tests with Azure Chaos Studio
In this lab, you earn how to automate testing for cloud-native applications using our sample app Contoso Traders. You can see, how to protect and classify your sensitive data in Microsoft 365.Exercise 1 – UI tests with Playwright – Great toolExercise 2 – Azure Load TestingExercise 3 – Azure Chaos Studio Follow the source-code.
Build apps with OSS components using GitHub Copilot – MS Ignite 2013 Lab
In this lab, you see steps how to incorporate Kubernetes, Dapr, KEDA, Bicep, using Github Copilot to sample app. You can see, how to protect and classify your sensitive data in Microsoft 365.Exercise 1 – Explore GitHub CodespacesExercise 2 – Run PetSpotR in a GitHub CodespaceExercise 3 – Use GitHub Copilot to add Dapr to the frontendExercise 4 – Use Bicep to model your infrastructure as code Follow the source-code.
Implement data security with Microsoft Purview – MS Ignite 2023 Lab
In this lab, you see steps on the right and executions. No comments, so must get knowledge from external sources, e.g. step by step on GitHub. You can see, how to protect and classify your sensitive data in Microsoft 365.Exercise 1 – Manage Compliance RolesExercise 2 – Manage Sensitive Information TypesExercise 3 – Manage Sensitivity LabelsExercise 4 – Manage DLP PoliciesExercise 5 – Configure Insider Risk Management Follow: https://github.com/MicrosoftLearning/SC-400T00A-Microsoft-Information-Protection-Administrator/tree/master/Instructions/Demos/Ignite%202023
Azure Active Directory B2C – all users report including the custom user attributes and local Email
Azure Active Directory B2C can be a great solution as a Identity Provider. Here is a quick PowerShell Script that export all users from Azure Active Directory B2C. #https://github.com/cljung/AzureAD-B2C-scripts$ApplicationID = “xxx”$TenatDomainName = “xxx”$AccessSecret = “xxx” $Body = @{Grant_Type = “client_credentials”Scope = “https://graph.microsoft.com/.default”client_Id = $ApplicationIDClient_Secret = $AccessSecret} $ConnectGraph = Invoke-RestMethod -Uri “https://login.microsoftonline.com/$TenatDomainName/oauth2/v2.0/token” -Method POST -Body $Body $token = $ConnectGraph.access_token $GrapUrl = ‘https://graph.microsoft.com/v1.0/users/?$select=id,displayName,mail,otherMails,EmailAddresses’$GrapUrl = ‘https://graph.microsoft.com/v1.0/applications/fea0ec14f6364d3790b1c72b82bd0a00/extensionProperties’$GrapUrl = ‘https://graph.microsoft.com/v1.0/applications’ Write-Host ‘———————————————————————————————————————————————–‘Write-Host ‘—————————————————– B2C App Id ——————————————————————————‘Write-Host ‘———————————————————————————————————————————————–‘Write-Host ‘ — AppName — ‘(Invoke-RestMethod -Headers @{Authorization = “Bearer $($token)”} -Uri $GrapUrl -Method Get).value.displayName+” — appID — “+(Invoke-RestMethod -Headers @{Authorization = “Bearer $($token)”} -Uri $GrapUrl -Method Get).value.appId+” — Id — “+(Invoke-RestMethod -Headers @{Authorization = “Bearer $($token)”} -Uri $GrapUrl -Method Get).value.IdWrite-Host ‘———————————————————————————————————————————————–‘Write-Host ‘—————————— The Custom fields taken from b2c-extensions-app Id (last outputs) not appId ————————————‘Write-Host ‘———————————————————————————————————————————————–‘$GrapUrl = ‘https://graph.microsoft.com/v1.0/applications/2834a576-f992-44ab-b5f5-31703ba491f1/extensionProperties’(Invoke-RestMethod -Headers @{Authorization = “Bearer $($token)”} -Uri $GrapUrl -Method Get).valueWrite-Host ‘———————————————————————————————————————————————–‘Write-Host ‘————————————————– All Users —————————————————————————‘Write-Host ‘———————————————————————————————————————————————–‘$GrapUrl = ‘https://graph.microsoft.com/v1.0/users/?$select=identities,displayName,mail,otherMails,id,userType,creationType,accountEnabled,createdDateTime,creationType,lastPasswordChangeDateTime,mailNickname,refreshTokensValidFromDateTime,signInSessionsValidFromDateTime,displayName,extension_a0a23b3b4e404f2ba6e711d151e13811_Level1PlayerWeight,extension_a0a23b3b4e404f2ba6e711d151e13811_Level1PlayerHeight,extension_a0a23b3b4e404f2ba6e711d151e13811_Level1PlayerSchool’(Invoke-RestMethod -Headers @{Authorization = “Bearer $($token)”} -Uri $GrapUrl -Method Get).value|Format-List The better view can be in GitHub. You can also create an Excel with Microsoft Graph queries to display them as here. Next step is PowerBI report with all users. Some Microsoft docs. https://jwt.ms page can be very helpfully in debugging.
GCP SSH authentication has failed for Ubuntu
When you create a new Ubuntu VM instance and you try to connect via web browser you can see: SSH authentication has failed In logs you can see: google_guest_agent[734]: Creating user admin.google_guest_agent[734]: ERROR non_windows_accounts.go:144 Error creating user: useradd: group admin exists – if you want to add this user to that group, use -g.. The solution is just add Automation script with the following: #! /bin/bashuseradd -m -G sudo mfecho ‘mf:Pa##w0rd’ | chpasswdsed -i “/^[^#]*PasswordAuthentication[[:space:]]no/cPasswordAuthentication yes” /etc/ssh/sshd_configservice sshd restart