- Newest
- Most votes
- Most comments
To further investigate this issue with Fleet Manager and the SendCommand operation for the AWSSSO-CreateSSOUser document, you can try the following steps:
-
Verify IAM permissions: Ensure that the IAM role associated with your EC2 instance has the necessary permissions to execute SSM commands, particularly for the AWSSSO-CreateSSOUser document.
-
Check SSM Agent: Make sure the SSM Agent on your Windows EC2 instance is up-to-date and running correctly. You can try reinstalling or updating the agent if necessary.
-
Validate input parameters: Double-check that you're providing all required parameters for the AWSSSO-CreateSSOUser document correctly. Pay special attention to the format of the "Rsa Parameters" as this might be causing the InvalidParameters error.
-
Examine SSM Agent logs: Look into the SSM Agent logs on the EC2 instance for more detailed error messages or clues about the parameter validation failure.
-
Use AWS CLI or SDK: Try executing the SendCommand operation using the AWS CLI or SDK. This might provide more verbose error messages that could help identify the specific parameter causing the issue.
-
Check EC2 instance status: Ensure that the EC2 instance is in a running state and properly configured for SSM operations.
-
Verify time synchronization: Make sure the EC2 instance's system time is correctly synchronized. Time discrepancies can sometimes cause authentication and API call issues.
-
Review CloudWatch Logs: If you have enabled CloudWatch Logs for SSM, check these logs for any additional error information that might not be visible in CloudTrail.
-
Contact AWS Support: If you're still unable to resolve the issue, consider reaching out to AWS Support for more in-depth troubleshooting assistance.
By systematically going through these steps, you should be able to gather more information about the InvalidParameters error and potentially resolve the issue with the AWSSSO-CreateSSOUser document execution.
Sources
SendCommand - AWS Systems Manager
Troubleshooting Session Manager - AWS Systems Manager
AWS SSM can't ping to my ec2 instance | AWS re:Post
Logging AWS Systems Manager API calls with AWS CloudTrail - AWS Systems Manager
