Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New-ManagementRoleAssignment error #4

Open
bbxc opened this issue Aug 16, 2021 · 9 comments
Open

New-ManagementRoleAssignment error #4

bbxc opened this issue Aug 16, 2021 · 9 comments

Comments

@bbxc
Copy link

bbxc commented Aug 16, 2021

127.0.0.1 - - [16/Aug/2021 15:43:22] "POST /wsman HTTP/1.1" 200 -
OUTPUT:

ERROR:
The term 'New-ManagementRoleAssignment' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

@dmaasland
Copy link
Owner

The user you're using doesn't have the proper permissions

@bbxc
Copy link
Author

bbxc commented Aug 16, 2021

. @dmaasland dmaasland

您使用的用户没有适当的权限

The user you're using doesn't have the proper permissions

This means that the current user and permissions can not be attacked?I will try another user. thanks.

@LarsMueller91
Copy link

Same issue but with New-MailboxExportRequest and I'm positive I have the permissions.

@dmaasland
Copy link
Owner

dmaasland commented Aug 16, 2021

Try using the command

New-ManagementRoleAssignment -Role "Mailbox Import Export" -User "your user"

manually and share the output

@solitary-sen
Copy link

可以控制邮箱的话,有没有办法读邮箱中的消息呢?

@dmaasland
Copy link
Owner

I'm sorry, that's not a language I understand :)

@caonima-png
Copy link

Is there any way to solve that any user can execute

@dmaasland
Copy link
Owner

Probably

@caonima-png
Copy link

How to solve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants