Extension-Attributes | Extension Attribute bash scripts for use with Casper Suite
kandi X-RAY | Extension-Attributes Summary
kandi X-RAY | Extension-Attributes Summary
A collection of some Extension Attribute bash scripts for use with Casper Suite
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Extension-Attributes
Extension-Attributes Key Features
Extension-Attributes Examples and Code Snippets
Community Discussions
Trending Discussions on Extension-Attributes
QUESTION
I am trying to find out for a client if it is possible to list onPremisesExtensionAttributes with a complex type which contains the extensionAttribute1 - extensionAttribute15 for cloud based users. Here is the summary:
In the test is used Graph API beta. The user resource type has a property named onPremisesExtensionAttributes with a complex type which contains the extensionAttribute1 - extensionAttribute15
we used MS GRAPH PATCH to update the extensionAttribute1 - extensionAttribute15
We've tested this by setting extensionAttribute1 to a test value 'xxxxTestValue'.
Remark: we do not sync on premise AD. We've set the value of the extensionAttribute1 with the MS Graph API PATCH operation.
How can we set the extensionAttribute1 - extensionAttribute15 with a PowerShell command?
Is it possible with a PowerShell command or is the only way to use MS Graph?
We tested the output in this article: https://docs.microsoft.com/en-us/powershell/azure/active-directory/using-extension-attributes-sample?view=azureadps-2.0
and received the results below:
...ANSWER
Answered 2019-Oct-04 at 01:41I suppose you can't use the built-in powershell to do that. The onPremisesExtensionAttributes
is a property just for the User
object in Microsoft Graph, but the AzureAD
or Az
powershell both call Azure AD Graph API, the onPremisesExtensionAttributes
property is not a property of the User
in AAD Graph. Even if you have set that in the MS Graph, you could not get it with command like Get-AzureADUser
.
If you want to use powershell to do that, your option is to call the MS Graph in powershell with Invoke-RestMethod
, a sample here.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Extension-Attributes
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page