User Profile
Angrydot
Brass Contributor
Joined Feb 21, 2020
User Widgets
Recent Discussions
Re: upload certificate app registration using powershell
harshahz The snippet below for pfx certs: $certificateAuthPassword = "Password123!" $appRegistrationObjectID = "<insert App Registration Object ID here>" $certFile = "C:\certs\my-self-signed-cert.pfx" $pwdCertAuth = ConvertTo-SecureString -String $certificateAuthPassword -Force -AsPlainText $certA = New-Object System.Security.Cryptography.X509Certificates.X509Certificate($certFile, $pwdCertAuth) $keyValue = [System.Convert]::ToBase64String($certA.GetRawCertData()) $connectedTenant = Connect-AzureAD # this is an interactive login Write-Host "Connected to $($connectedTenant.TenantDomain)" -ForegroundColor Green # to verify connected $application = Get-AzureADApplication -ObjectId $appRegistrationObjectID Write-Host "App Registration is [$($application.DisplayName)]" -ForegroundColor Green # to verify got the correct App Registration New-AzureADApplicationKeyCredential -ObjectId $application.ObjectId -Type AsymmetricX509Cert -Usage Verify -Value $keyValue | Out-Null Write-Host "Auth certificate uploaded to [$($application.DisplayName)]" -ForegroundColor Green # to verify success Disconnect-AzureAD2.1KViews0likes0CommentsHow to revoke permissions on SharePointPnP.ProvisioningApp.Tenant?
How do I revoke permissions granted to SharePointPnP.ProvisioningApp.Tenant after deploying a SharePoint lookbook site template? I see the "app' in https://myapplications.microsoft.com/, but don't see a way to revoke the permissions. Also, what impact would revoking the permissions have on the sites deployed by it?Solved4.7KViews0likes2CommentsMultiple Microsoft Learning Pathways Site Collections?
Is it possible to have multiple Learning pathways Site Collections? When I deploy a 2nd Learning Pathways Site Collection from the lookbook, the 1st Learning Pathways Site Collection is impacted. Some of the links on the 1st site point to the 2nd site. I assume the webparts have references set during the provisioning.Solved1.5KViews0likes2Comments
Recent Blog Articles
No content to show