question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[New-Resource] SPSecurityTokenServiceConfig

See original GitHub issue

Hello, I want to configure apps in a HTTP site, so I have to set property AllowOAuthOverHttp to true:

$serviceConfig = Get-SPSecurityTokenServiceConfig
$serviceConfig.AllowOAuthOverHttp = $true
$serviceConfig.Update()

I didn’t find any SharePointDsc resource to configure object SPSecurityTokenServiceConfig. Then, how should I set this property? Thanks for your input, Yvan

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
BrianFarnhillcommented, Nov 6, 2017

@Yvand It actually is a DSC resource. Don’t think of resources as something that I can add multiple instances of (like web apps or sites), it can be a generic farm-wide setting (like we have for SPDiagnosticLogging or SPOutgoingEmail). So, in this case, we can write it as a single instance resource that checks if the settings are correct, and then fixes them if they are not. It’s not a complex resource at all, but definitely, suits the model.

0reactions
ykuijscommented, Jan 18, 2018

Closed via PR #729

Read more comments on GitHub >

github_iconTop Results From Across the Web

[New-Resource] SPSecurityTokenServiceConfig · Issue #673
Hello, I want to configure apps in a HTTP site, so I have to set property AllowOAuthOverHttp to true: $serviceConfig = Get-SPSecurityTokenServiceConfig ......
Read more >
Set-SPSecurityTokenServiceConfig (sharepoint-server)
The Set-SPSecurityTokenServiceConfig cmdlet updates the settings of the SharePoint security token service (STS) identity provider.
Read more >
SharePointDSC 4.7.0
Version Downloads Last updated 5.5.0‑previe... 20 2 months ago 5.5.0‑previe... 2 2 months ago 5.4.0 3,925 2 months ago
Read more >
Description of the security update for SharePoint Server ...
None Summary This security update resolves an information disclosure vulnerability that exists in Microsoft SharePoint if an attacker uploads a specially ...
Read more >
Resource Modules
new resource to authorize DHCP server in AD. FailoverCluster: ... SPSecurityTokenServiceConfig SPSelfServiceSiteCreation SPServiceAppPool ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found