8000 Cannot validate argument on parameter 'PrimarySmtpAddress'. The argument "" does not match the "[a-zA-Z0-9!#$%*+\-/?^_`.{|}~]+@([a-zA-Z0-9\-]+\.)+[a-zA-Z]{2,4}" pattern. · Issue #15 · CrowdStrike/CRT · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cannot validate argument on parameter 'PrimarySmtpAddress'. The argument "" does not match the "[a-zA-Z0-9!#$%*+\-/?^_`.{|}~]+@([a-zA-Z0-9\-]+\.)+[a-zA-Z]{2,4}" pattern. #15

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

Open
crtoversystematic opened this issue Jan 5, 2021 · 3 comments

Comments

@crtoversystematic
Copy link

[2021-01-05 07:51:30Z] - Retrieving Mailbox Delegates where 'Full Access' permission is granted
This make take awhile; please be patient...
[!] We ran into an error retrieving Mailbox Delegates where 'FullAccess' permission is granted. If a report is generated, it may not be complete.
Try using the following command to obtain this report manually:
Get-EXOMailbox -ResultSize Unlimited | Get-EXOMailboxPermission | Where-Object { ($.AccessRights -eq "FullAccess") -and ($.IsInherited -eq $false) -and -not ($.User -like "NT AUTHORITY\SELF")} | Export-Csv "FullAccessPerms.csv" -NoTypeInformation
[2021-01-05 08:01:47Z] - Retrieving Mailbox Delegates where 'Any' permissions are granted
This make take awhile; please be patient...
[!] We ran into an error retrieving Mailbox Delegates where 'Any' permissions are granted. If a report is generated, it may not be complete.
Try using the following command to obtain this report manually:
Get-EXOMailbox -ResultSize Unlimited | Get-EXOMailboxPermission | Where-Object { ($
.IsInherited -eq $false) -and -not ($.User -like "NT AUTHORITY\SELF")} | Export-Csv "AnyAssignedPerms.csv" -NoTypeInformation
[2021-01-05 08:04:55Z] - Retrieving Mailbox Delegates where 'Send As' or 'SendOnBehalf' permission is granted
This make take awhile; please be patient...
Cannot validate argument on parameter 'PrimarySmtpAddress'. The argument "" does not match the "[a-zA-Z0-9!#$%*+-/?^
.{|}~]+@([a-zA-Z0-9\-]+\.)+[a-zA-Z]{2,4}" pattern. Supply an argument that matches "[a-zA-Z0-9!#$%*+\-/?^_.{|}~]+@([a-zA-Z0-9-]+.)+[a-zA-Z]{2,4}" an
d try the command again.
At Redacted\CrowdStrike_Reporting_Tool_for_Azure\CRT-main\Get-CRTReport.ps1:1081 char:13

  •         throw $_.Exception.Message
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Cannot validate... command again.:String) [], RuntimeException
    • FullyQualifiedErrorId : Cannot validate argument on parameter 'PrimarySmtpAddress'. The argument "" does not match the "[a-zA-Z0-9!#$%*+-/?^_.{|}~]+@([a-zA-Z0-9\-]+\.)+[a-zA-Z]{2,4}" pattern. Supply an argument that matches "[a-zA-Z0-9!#$%*+\-/?^_.{|}~]+@([a-z
      A-Z0-9-]+.)+[a-zA-Z]{2,4}" and try the command again.
@csdr4
Copy link
Collaborator
csdr4 commented Jan 8, 2021

@crtoversystematic thanks for the feedback. Have you tried running the individual commands themselves, and does that work for you?

@crtoversystematic
Copy link
Author
crtoversystematic commented Jan 8, 2021 via email

@csdr4
Copy link
Collaborator
csdr4 commented Jan 14, 2021

@crtoversystematic how long is the script/command running before erroring out for you?

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

2 participants
0