To set up the CRM 2016 and sharepoint 2016 the following steps I had followed.
CRM :
Version:2016
Security: http
Sharepoint
Version:2013 sp1 (no update installed, only service pack 1 installed)
Security:https
1) Single Farm - done
2) SharePoint and CRM domain one.
3)blogs.msdn.microsoft.com/.../configure-ssl-for-sharepoint-2013
Based on the above URL the SharePoint site configured as HTTPS certificate
4) App Management Service Application Proxy - Started. but no app created in my site collection
5) User Profile Service Application - Started. Profiles are synchronised and associated with the function User Profile Service are working.
The following power shell successfully run
$c = Get-SPSecurityTokenServiceConfig
$c.AllowMetadataOverHttp = $true
$c.AllowOAuthOverHttp= $true
$c.Update()
$i = New-SPTrustedSecurityTokenIssuer –Name "crm" –IsTrustBroker:$false –MetadataEndpoint 192.168.1.203/.../json
$CrmRealmId = "9377673d-66dd-4779-adab-8e31ec4ccbe7"
$Identifier = "00000007-0000-0000-c000-000000000000@" + $CrmRealmId
$site = Get-SPSite "london/.../CRMDocument"
Register-SPAppPrincipal -site $site.RootWeb -NameIdentifier $Identifier -DisplayName "crm"
$app = Get-SPAppPrincipal -NameIdentifier $Identifier -Site "london/.../CRMDocument"
Set-SPAppPrincipalPermission -AppPrincipal $app -Site $site.Rootweb -Scope "sitecollection" -Right "FullControl" -EnableAppOnlyPolicy
#"Set up claims-based authentication mapping"
New-SPClaimTypeMapping -IncomingClaimType "schemas.xmlsoap.org/.../emailaddress" -IncomingClaimTypeDisplayName "EmailAddress" -SameAsIncoming
To Get the SharePoint realm ID
There is no app available in my site collection. How should i get Sharepoint realm id.
Should i need to create app manually in my site collection? If it is could you please share with me how?