Service Provider Foundation cannot connect to SCVMM

Arash Venus 21 Reputation points
2021-06-18T13:37:40.793+00:00

I am trying to connect SCVMM with Service Provider Foundation to deploy Azure Pack VM services.
But it fails to connect. I have tried the commands on this link so far:

https://learn.microsoft.com/en-us/previous-versions/system-center/system-center-2012-R2/jj613915(v=sc.12)?redirectedfrom=MSDN

PS C:\> # Create a server.
PS C:\> $server = New-SCSPFServer -Name "server23G.contoso.com" -ServerType VMM
PS C:\> # Create a stamp. A stamp is a logical container for a tenant's association with one or more servers.
PS C:\> $stamp = New-SCSPFStamp –Name "StampA" –Servers $server
PS C:\> # Create a tenant. A tenant is your paying customer or business unit.
PS C:\> $tenant = New-SCSPFTenant -Name "jonathan@treyresearch.net"
PS C:\> # Associate the stamp to the tenant. You can set the stamp to the tenant and also to a different server if needed.
PS C:\> Set-SCSPFStamp -Stamp $stamp -Tenants $tenant

System Center Virtual Machine Manager
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,882 questions
0 comments No comments
{count} votes