Skip to content

Commit 6505c46

Browse files
committed
Updates
1 parent 05dbeeb commit 6505c46

File tree

114 files changed

+9635
-53819
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+9635
-53819
lines changed

Modules/01_GettingStarted/Demo/CreateSharePointSite.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ $template = "STS#3"
1111
New-SPOSite -Url $urlNewSite -Owner $owner -Title $siteTitle -StorageQuota $quota -Template $template
1212

1313
# get info about new team site
14-
Get-SPOSite -Identity $url | select *
14+
Get-SPOSite -Identity $urlNewSite | select *
1515

1616
# update title with next text value
17-
Set-SPOSite -Identity $url -Title "A New and Better Title"
17+
Set-SPOSite -Identity $urlNewSite -Title "A New and Better Title"
1818

1919
# open new site in browser
2020
Start-Process $urlNewSite

Modules/07_AzureActiveDirectory/Demo/DisplayMicrosoftGraphPermissions.ps1 renamed to Modules/07_AzureActiveDirectory/Demo/DisplayMicrosoftGraphApiPermissions.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Clear-Host
22

3-
$authResult = Connect-AzureAD
3+
$userName = "student@msd365tenant.onMicrosoft.com"
4+
$password = "Pa`$`$word!"
5+
6+
7+
$securePassword = ConvertTo-SecureString –String $password –AsPlainText -Force
8+
$credential = New-Object –TypeName System.Management.Automation.PSCredential `
9+
–ArgumentList $userName, $securePassword
10+
11+
$authResult = Connect-AzureAD -Credential $credential
412

513
$microsoftGraphAppId = "00000003-0000-0000-c000-000000000000"
614
$microsoftGraph = Get-AzureADServicePrincipal -All $true | Where-Object {$_.AppId -eq $microsoftGraphAppId}

Modules/07_AzureActiveDirectory/Demo/DisplayPowerBiPermissions.ps1

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "chrome",
9+
"request": "launch",
10+
"name": "Launch Chrome",
11+
"url": "http://localhost:8080",
12+
"webRoot": "${workspaceFolder}"
13+
}
14+
]
15+
}

0 commit comments

Comments
 (0)