Updating a user doesn't appear to be possible. We should be able to update a user with some thing like:
mg users user update --user-id $userId --office-location $newLocation
The results are:
mg users user: 'update' is not in the 'mg users user' command group. See 'mg users user --help'.
If I run mg users user --help:
Group
mg users user : Manage user with users_v1_0.
Commands:
create : Update entity in users And Add new entity to users.
create-extension : Create new navigation property to extensions for users.
create-license-detail : Create new navigation property to licenseDetails for users.
create-photo : Create new navigation property to photos for users.
create-ref-created-object : Create new navigation property ref to createdObjects for
users.
create-ref-direct-report : Create new navigation property ref to directReports for
users.
create-ref-member-of : Create new navigation property ref to memberOf for users.
create-ref-oauth2-permission-grant : Create new navigation property ref to
oauth2PermissionGrants for users.
create-ref-owned-device : Create new navigation property ref to ownedDevices for
users.
create-ref-owned-object : Create new navigation property ref to ownedObjects for
users.
create-ref-registered-device : Create new navigation property ref to registeredDevices for
users.
create-ref-transitive-member-of : Create new navigation property ref to transitiveMemberOf
for users.
delete-extension : Delete navigation property extensions for users.
delete-license-detail : Delete navigation property licenseDetails for users.
delete-outlook : Delete navigation property outlook for users.
delete-photo : Delete navigation property photos for users And Delete
navigation property photo for users.
delete-ref-manager : Delete ref of navigation property manager for users.
delete-setting : Delete navigation property settings for users.
delete-user : Delete entity from users.
list : Get entities from users.
list-created-object : Get createdObjects from users.
list-direct-report : Get directReports from users.
list-extension : Get extensions from users.
list-license-detail : Get licenseDetails from users.
list-member-of : Get memberOf from users.
list-oauth2-permission-grant : Get oauth2PermissionGrants from users.
list-owned-device : Get ownedDevices from users.
list-owned-object : Get ownedObjects from users.
list-photo : Get photos from users.
list-ref-created-object : Get ref of createdObjects from users.
list-ref-direct-report : Get ref of directReports from users.
list-ref-member-of : Get ref of memberOf from users.
list-ref-oauth2-permission-grant : Get ref of oauth2PermissionGrants from users.
list-ref-owned-device : Get ref of ownedDevices from users.
list-ref-owned-object : Get ref of ownedObjects from users.
list-ref-registered-device : Get ref of registeredDevices from users.
list-ref-transitive-member-of : Get ref of transitiveMemberOf from users.
list-registered-device : Get registeredDevices from users.
list-transitive-member-of : Get transitiveMemberOf from users.
set-ref-manager : Update the ref of navigation property manager in users.
show-extension : Get extensions from users.
show-license-detail : Get licenseDetails from users.
show-manager : Get manager from users.
show-outlook : Get outlook from users.
show-photo : Get photos from users And Get photo from users.
show-ref-manager : Get ref of manager from users.
show-setting : Get settings from users.
show-user : Get entity from users by key.
update-extension : Update the navigation property extensions in users.
update-license-detail : Update the navigation property licenseDetails in users.
update-outlook : Update the navigation property outlook in users.
update-photo : Update the navigation property photos in users And Update
the navigation property photo in users.
update-setting : Update the navigation property settings in users.
Describe the bug
Updating a user doesn't appear to be possible. We should be able to update a user with some thing like:
mg users user update --user-id $userId --office-location $newLocation
The results are:
mg users user: 'update' is not in the 'mg users user' command group. See 'mg users user --help'.
If I run
mg users user --help
:AB#9407