https://pfserver:9031/pf/federation_metadata.ping?PartnerSpId=[SPCONNECTION-IDENTIFIER]
try without the port (9031) in case of failure
https://pfserver:9031/pf/federation_metadata.ping?PartnerSpId=[SPCONNECTION-IDENTIFIER]
try without the port (9031) in case of failure
sudo nano /etc/hosts and hit Return| #change the current storage account | |
| Set-AzureSubscription -SubscriptionName "{source subscription}" -CurrentStorageAccount "{storage account name}" | |
| Select-AzureSubscription "{source subscription}" | |
| $destContext = New-AzureStorageContext –StorageAccountName "{destination storage account}" -StorageAccountKey "" | |
| $sourceContext = New-AzureStorageContext –StorageAccountName "{source account}" -StorageAccountKey "" | |
| #New-AzureStorageContainer -Name "{container name}" | |
| ### Asynchronous Copy From Blob Context to Blob Context ### |
| #connect using a global admin account of the AD where you want the Service Principal to be created | |
| $msolcred = get-credential | |
| connect-msolservice -credential $msolcred | |
| #symmetric key used for some auth scenarios (keep the object id, app principal id and symm key for the future) | |
| New-MsolServicePrincipal -DisplayName {yourspname} -Type symmetric | |
| #assigns a Company Admin role | |
| Add-MsolRoleMember -RoleName "Company Administrator" -RoleMemberType ServicePrincipal -RoleMemberObjectId {principal objectId} |
| $json = @' | |
| some json multi-line string goes here | |
| '@; | |
| $json | Out-File settings.json |