Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.
Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.

Uncategorized

How to report Azure Admin Roles granted with PowerShell into CSV

Report of all Azure Admin Roles granted with PowerShell into CSV. Leverages module AzureAD and only requires Azure AD reader.

Cheers

VIDEO

SCREENSHOT

SOURCE CODE

https://github.com/spjeff/office365/tree/master/Azure-Admin-Roles

REFERENCES

Query Azure AD (Connect-AzureAD) unattended with Azure App Registration certificate PFX

Demo showing how to query Azure AD in PowerShell. Walk each step with full PowerShell source code available.

  1. Execute “Connect-AzureAD” with admin user
  2. Create self signed certificate PFX for unattended login
  3. Create new App Registration
  4. Grant permission “User.ReadAll” to MS Graph API
  5. Execute “Connect-AzureAD” with unattended certificate PFX login
  6. Execute query “Get-AzureADUser” to display results

Please leave comment with suggestions and questions. Cheers.

SOURCE CODE

https://github.com/spjeff/spadmin/blob/master/Connect-AzureAD.ps1

VIDEO

REFERENCES

  • https://docs.microsoft.com/en-us/powershell/module/azuread/connect-azuread?view=azureadps-2.0
  • https://docs.microsoft.com/en-us/powershell/module/azuread/new-azureadapplicationkeycredential?view=azureadps-2.0
  • https://erjenrijnders.nl/2018/08/30/azuread-login-without-credentials-unattended/

Global Nav Bar for Classic JS and Modern SPFx (hosted SP2019 and SPO)

Full demo showing the source code and install process for Global Navigation bar across multiple site collections. Provide end users with facility to update central navigation with consistent display across many SharePoint site collections. Screenshots below with demo and full source code. Cheers.

  • Supports both Classic JS and Modern SPFx site templates
  • Supports SharePoint 2019+ with SPFx 1.4.1
  • Supports SharePoint Online (SPO)

GitHub Repo

Video

Screenshot

References

https://github.com/tom-daly/spfx-global-navigation

https://github.com/dcashpeterson/Public-Samples/tree/master/Code/GlobalNavSPFx/SPFx

https://www.youtube.com/watch?v=LlsAz99IViY

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲