Skip to content

Commit

Permalink
Commit from GitHub Actions (Generate Site)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkbullock committed Oct 27, 2024
1 parent df05d19 commit a2a11ae
Show file tree
Hide file tree
Showing 8 changed files with 7,490 additions and 7,438 deletions.
30 changes: 29 additions & 1 deletion aad-get-tenantid/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<h1 id="get-tenant-id">Get Tenant ID</h1>

<h2 id="summary">Summary</h2>
<p>These are 2 practical scripts I have to get Tenant ID from either a domain name or from a Subscriptionis ID.</p>
<p>These are practical scripts I have to get Tenant ID from either a domain name or from a Subscriptionis ID.</p>
<p>These are simple, but very useful to be combined in other scripts.</p>
<div class="tabGroup" id="tabgroup_CeZOj-G++Q">
<ul role="tablist">
Expand All @@ -109,6 +109,9 @@ <h2 id="summary">Summary</h2>
<li role="presentation">
<a href="#tabpanel_CeZOj-G++Q_ps1" role="tab" aria-controls="tabpanel_CeZOj-G++Q_ps1" data-tab="ps1" tabindex="-1">PowerShell (Subscription)</a>
</li>
<li role="presentation">
<a href="#tabpanel_CeZOj-G++Q_pnpps" role="tab" aria-controls="tabpanel_CeZOj-G++Q_pnpps" data-tab="pnpps" tabindex="-1">PnP PowerShell</a>
</li>
</ul>
<section id="tabpanel_CeZOj-G++Q_ps" role="tabpanel" data-tab="ps"><button class="article-clipboard" title="Copy to clipboard" data-toggle="tooltip" data-placement="top" data-clipboard-target="section[id^='tabpanel'][data-tab='ps'] pre">
<span class="glyphicon glyphicon-copy" aria-hidden="true"></span>
Expand Down Expand Up @@ -261,6 +264,28 @@ <h2 id="summary">Summary</h2>
<p>Check out the <strong>PowerShell</strong> to learn more at: <a href="https://learn.microsoft.com/powershell">PowerShell Documentation | Microsoft Learn</a></p>
</div>
</section>
<section id="tabpanel_CeZOj-G++Q_pnpps" role="tabpanel" data-tab="pnpps" aria-hidden="true" hidden="hidden"><button class="article-clipboard" title="Copy to clipboard" data-toggle="tooltip" data-placement="top" data-clipboard-target="section[id^='tabpanel'][data-tab='pnpps'] pre">
<span class="glyphicon glyphicon-copy" aria-hidden="true"></span>
<span class="article-clipboard__message done">Copied</span>
</button>

<pre><code class="lang-powershell">param (
[Parameter(Mandatory = $true)]
[string] $domain
)

$adminSiteURL = &quot;https://$domain-Admin.SharePoint.com&quot;
Connect-PnPOnline -Url $adminSiteURL -Interactive -WarningAction SilentlyContinue
Get-PnPTenantId

</code></pre>
<div class="highlight-tool">
<p>Check out the <strong>PnP PowerShell</strong> to learn more at: <a href="https://aka.ms/pnp/powershell">https://aka.ms/pnp/powershell</a></p>
</div>
<div class="highlight-tool-red">
<p>The way you login into PnP PowerShell has changed please read <a href="https://github.com/pnp/powershell/discussions/4249">PnP Management Shell EntraID app is deleted : what should I do ?</a></p>
</div>
</section>
</div>
<h2 id="source-credit">Source Credit</h2>
<p>Sample first appeared on <a href="https://github.com/dkaaven/M365-Scripts">https://github.com/dkaaven/M365-Scripts</a></p>
Expand All @@ -275,6 +300,9 @@ <h2 id="contributors">Contributors</h2>
<tr>
<td><a href="https://github.com/dkaaven">Daniel Kåven</a></td>
</tr>
<tr>
<td><a href="https://github.com/reshmee011">Reshmee Auckloo</a></td>
</tr>
</tbody>
</table>
<h2 id="disclaimer">Disclaimer</h2>
Expand Down
18 changes: 16 additions & 2 deletions aad-get-tenantid/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@
""
],
"creationDateTime": "2024-10-14",
"updateDateTime": "2024-10-14",
"updateDateTime": "2024-10-27",
"products": [
"Azure"
],
"metadata": [
{
"key": "POWERSHELL",
"value": "7.2.0"
},
{
"key": "PNP-POWERSHELL",
"value": "1.11.0"
}
],
"categories": [
Expand All @@ -35,6 +39,12 @@
}
],
"authors": [
{
"gitHubAccount": "reshmee011",
"company": "",
"pictureUrl": "https://avatars.githubusercontent.com/u/7693852?v=4",
"name": "Reshmee Auckloo"
},
{
"gitHubAccount": "dkaaven",
"company": "",
Expand All @@ -43,7 +53,11 @@
}
],
"references": [

{
"name": "Want to learn more about PnP PowerShell and the cmdlets",
"description": "Check out the PnP PowerShell site to get started and for the reference to the cmdlets.",
"url": "https://aka.ms/pnp/powershell"
}
]
}
]
4 changes: 2 additions & 2 deletions cmdusage.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h1 id="report-of-samples-command-usage">Report of Samples Command Usage</h1>
</tr>
<tr>
<td><a href="aad-get-tenantid/README.html">Get Tenant ID</a></td>
<td style="text-align: center;"></td>
<td style="text-align: center;">Connect-PnPOnline, Get-PnPTenant, Get-PnPTenantId</td>
<td style="text-align: center;">Get-TenantIdFromDomain, Invoke-WebRequest, Write-Error, ConvertFrom-Json, Get-TenantIdFromSubscriptionId</td>
</tr>
<tr>
Expand Down Expand Up @@ -1682,7 +1682,7 @@ <h3 id="sharepoint-online-management-shell-usage">SharePoint Online Management S
</tr>
</tbody>
</table>
<p>There are <strong>296</strong> script scenarios with metadata in the site | Generated: 27 Oct 2024 09:19:28</p>
<p>There are <strong>296</strong> script scenarios with metadata in the site | Generated: 27 Oct 2024 09:27:49</p>
</article>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@
"output": {
".html": {
"relative_path": "aad-get-tenantid/README.html",
"hash": "5VUArd2UAiUvCb55+OzMuQ=="
"hash": "u3sQDw5BjvcsjGx0ZlLbwQ=="
}
},
"is_incremental": false,
Expand Down Expand Up @@ -14844,7 +14844,7 @@
"output": {
".html": {
"relative_path": "cmdusage.html",
"hash": "O9kw7Jvt9P4QEUkJbv+9cw=="
"hash": "Khj5fjfjfXlfopQ9FmVVig=="
}
},
"is_incremental": false,
Expand Down Expand Up @@ -14977,7 +14977,7 @@
"output": {
".html": {
"relative_path": "matrix.html",
"hash": "F1WGDGyEGjBfw+gtvz7z3w=="
"hash": "cnnGOP9e2cgPUZirDEJgOQ=="
}
},
"is_incremental": false,
Expand All @@ -14989,7 +14989,7 @@
"output": {
".html": {
"relative_path": "metadata.html",
"hash": "MN/pihUKA42cMswHwKXRDQ=="
"hash": "15ridDhrdFxgx7BkVlDVBA=="
}
},
"is_incremental": false,
Expand Down
8 changes: 4 additions & 4 deletions matrix.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h1 id="matrix-of-sample-distribution-by-tool">Matrix of Sample Distribution by
</tr>
<tr>
<td><a href="aad-get-tenantid/README.html">Get Tenant ID</a></td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">👍</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">-</td>
Expand Down Expand Up @@ -2480,16 +2480,16 @@ <h1 id="matrix-of-sample-distribution-by-tool">Matrix of Sample Distribution by
</tr>
<tr>
<td>-</td>
<td style="text-align: center;">248</td>
<td style="text-align: center;">249</td>
<td style="text-align: center;">113</td>
<td style="text-align: center;">1</td>
<td style="text-align: center;">19</td>
<td style="text-align: center;">23</td>
</tr>
</tbody>
</table>
<p>There are <strong>296</strong> scenarios and <strong>404</strong> scripts in the site | Generated: 27 Oct 2024 09:19:06</p>
<p>PnP PowerShell: 248 <br>Cli for Microsoft 365 PowerShell: 113<br>Cli for Microsoft 365 Bash: 1<br>Graph SDK: 19<br>SPO Management SDK: 23<br> All Tabs: 448<br><br></p>
<p>There are <strong>296</strong> scenarios and <strong>405</strong> scripts in the site | Generated: 27 Oct 2024 09:27:29</p>
<p>PnP PowerShell: 249 <br>Cli for Microsoft 365 PowerShell: 113<br>Cli for Microsoft 365 Bash: 1<br>Graph SDK: 19<br>SPO Management SDK: 23<br> All Tabs: 449<br><br></p>
</article>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ <h1 id="metadata-report-of-samples">Metadata Report of Samples</h1>
<td style="text-align: center;">Azure</td>
<td style="text-align: center;">Report, Security</td>
<td style="text-align: center;"><cmdlets-used></cmdlets-used></td>
<td style="text-align: center;">POWERSHELL</td>
<td style="text-align: center;">POWERSHELL, PNP-POWERSHELL</td>
<td style="text-align: center;">👍</td>
<td style="text-align: center;">👍</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">0</td>
<td style="text-align: center;">1</td>
</tr>
<tr>
<td><a href="aad-grant-serviceprincipal-api-permissions/README.html">Grant Managed Identity permissions to audit and cleanup SPFx App Principal permissions</a></td>
Expand Down Expand Up @@ -3371,7 +3371,7 @@ <h1 id="metadata-report-of-samples">Metadata Report of Samples</h1>
</tr>
</tbody>
</table>
<p>There are <strong>296</strong> script scenarios with metadata in the site | Generated: 27 Oct 2024 09:19:08</p>
<p>There are <strong>296</strong> script scenarios with metadata in the site | Generated: 27 Oct 2024 09:27:30</p>
</article>
</div>
</div>
Expand Down
Loading

0 comments on commit a2a11ae

Please sign in to comment.