Issue with Service Graph Connector for AWS in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 06:59 PM
Hello, Good Day!
I'm trying an integration using Service Graph Connector for AWS. I have an AWS Trail Account.
I have performed all the steps mentioned in KB1220597 and configured the properties in ServiceNow. While Running the Import Sets get the below error: This error was returned in STS Assume role Action
When Calling this API using Postman it was working and got a response
Can Some help me on this to complete this Integration
@Aws @Service graph connector for AWS @Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 09:00 PM
Hi @Ramuka
unfortunately, it is not clear what your issue is. Please provide more details, context and screenshots to help us understand you better.
And by the way: In your (pretty small) screenshot I can see a response code of "200" - that means "successful". So where is the error?
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2023 11:46 PM
Hi @Maik Skoddow,
for Service Graph Connector for AWS, we have Multiple import sets for fetching data from AWS. While Running those sets I'm getting Error. The below Error was received in flow action Called,
SG-AWS-STS-AssumeRole
{ "response": { "Error": { "Code": "AccessDenied", "Message": "User: arn:aws:iam::ACCount Number:user/SGSNOWROOT1 is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::Account ID:role/aws:iam::Account ID:role/SnowOrganizationAccountAccessRole", "Type": "Sender" }, "RequestId": "9331d0c3-e040-4cb1-b959-9f75c131ce04" } }
But When I Test Same API in Postman I'm getting response correctly.
Post Man URL:
https://sts.amazonaws.com/?Version=2011-06-15&Action=AssumeRole&RoleSessionName=Account ID-session&RoleArn=arn:aws:iam::Account ID:role/SGSNOWADRole&SurationSeconds=3600
Kindly Help me on this.
Thanks,
RamuKa.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2023 12:30 AM
Hi @Ramuka
the error message seems to be clear. It's saying that the credentials are wrong. So what you forgot to provide is how are you authenticating in Postman and how in ServiceNow?
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2023 03:02 AM
Hi @Maik Skoddow ,
In ServiceNow, I'm using AWS Credentials (Access Key ID, Secret Access Key). Please take a look at the Snip below. But I'm accessing Another API for getting organization details with 200 and Response.
In Postman I'm using AWS Signature as Authentication type.
Kindly help me on this,
Best Regards,
RamuKa.