Esri / ago-assistant

A swiss army knife for your ArcGIS Online and Portal for ArcGIS accounts
https://ago-assistant.esri.com/
Apache License 2.0
152 stars 89 forks source link

I want to... Copy Content - log into another account #187

Open kradamaker opened 7 years ago

kradamaker commented 7 years ago

When logging into a portal to copy content from one portal to another, on separate servers. System displays root of target directory, but no maps or web apps display, and if I copy a map, it copies, but it does not show in the target portal when I log in to target.

I can log in to each server separately to ago-assistant on both portals and map and web apps show up.

ecaldwell commented 7 years ago

Do you see any errors in the console or the network tab when you log into the destination portal?

kradamaker commented 7 years ago

No errors at all

Kurt

Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone

-------- Original message -------- From: Evan Caldwell notifications@github.com Date: 6/8/17 7:05 AM (GMT-07:00) To: Esri/ago-assistant ago-assistant@noreply.github.com Cc: "Radamaker, Kurt" KRadamaker@republicservices.com, Author author@noreply.github.com Subject: Re: [Esri/ago-assistant] I want to... Copy Content - log into another account (#187)

Do you see any errors in the console or the network tab when you log into the destination portal?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_ago-2Dassistant_issues_187-23issuecomment-2D307113812&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=1GtioG72rpndFqXcvoQTwEqW0g5ow_d1nRlGK9ORMJs&s=69CedTFzXLxk0-VxUQgkwyt21qmmH9KuImggcI_pobc&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIWP7omCf9k-2DlQF1ix6x7HZ4Dlyl3JYnks5sB-5F-2DkgaJpZM4Nza-2De&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=1GtioG72rpndFqXcvoQTwEqW0g5ow_d1nRlGK9ORMJs&s=eFdh2SfYAwTJS5AurIfUiNPJ5ru5lAj2RDz38l26mXU&e=.

ecaldwell commented 7 years ago

How about when you do the copy? Any errors then? What's the response of the addItem call in the network tab?

What type of user account (Level 1 or 2?) is the destination?

kradamaker commented 7 years ago

No errors, copies fine, but map goes to an empty ROOT with no other maps on target account. When I log directly into the target portal the root is different it is under the USER name, and contains several maps.

Kurt

From: Evan Caldwell [mailto:notifications@github.com] Sent: Thursday, June 08, 2017 7:21 AM To: Esri/ago-assistant Cc: Radamaker, Kurt; Author Subject: Re: [Esri/ago-assistant] I want to... Copy Content - log into another account (#187)

How about when you do the copy? Any errors then? What's the response of the addItem call in the network tab?

What type of user account (Level 1 or 2?) is the destination?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_ago-2Dassistant_issues_187-23issuecomment-2D307118532&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=pCwOrmjFAKSfzHAHHpQZjOnwBqCwcBwenr2hhCd9uI4&s=IqMZoJFE_acShYeKb9A2b-GIQctKvJDAauzuXWxNO48&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIWP7s00c34jYxr8jTHn5oMMxDLeBmpkks5sCANPgaJpZM4Nza-2De&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=pCwOrmjFAKSfzHAHHpQZjOnwBqCwcBwenr2hhCd9uI4&s=sECK4DNehx4jiYcm9vdFf5peNZ6ipt6TvI_olg506aM&e=.

kradamaker commented 7 years ago

I’m don’t know what is meant by, What type of user account (Level 1 or 2?) is the destination?

From: Evan Caldwell [mailto:notifications@github.com] Sent: Thursday, June 08, 2017 7:21 AM To: Esri/ago-assistant Cc: Radamaker, Kurt; Author Subject: Re: [Esri/ago-assistant] I want to... Copy Content - log into another account (#187)

How about when you do the copy? Any errors then? What's the response of the addItem call in the network tab?

What type of user account (Level 1 or 2?) is the destination?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_ago-2Dassistant_issues_187-23issuecomment-2D307118532&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=pCwOrmjFAKSfzHAHHpQZjOnwBqCwcBwenr2hhCd9uI4&s=IqMZoJFE_acShYeKb9A2b-GIQctKvJDAauzuXWxNO48&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIWP7s00c34jYxr8jTHn5oMMxDLeBmpkks5sCANPgaJpZM4Nza-2De&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=pCwOrmjFAKSfzHAHHpQZjOnwBqCwcBwenr2hhCd9uI4&s=sECK4DNehx4jiYcm9vdFf5peNZ6ipt6TvI_olg506aM&e=.

ecaldwell commented 7 years ago

Well, let's take a step back. What version is the destination portal?

I'm asking because user levels (which are new at 10.5) could be a factor here if your destination user was Level 1. It's possible that you cannot copy content to a Level 1 account.

Level 1 membership is for members who only need privileges to view content, such as maps and apps, that has been shared with them through the organization, as well as join groups within the organization. Level 2 membership is for members who need to view, create, and share content and own groups, in addition to other tasks.

kradamaker commented 7 years ago

We are on 10.3.

I think I found a work around.

  1. Log onto target server, where I want to copy the maps to.

  2. Go to https://ago-assistant.esri.com/ in ie. or chrome

  3. Log into portal source server, this is logging in from target machine.

  4. Select I want to copy content and log in target server, server you are logged into.

The big difference here is I was logging into source server first and copying to target server. The method above logs onto target server first.

This worked

Thanks for taking the time to help!!

From: Evan Caldwell [mailto:notifications@github.com] Sent: Thursday, June 08, 2017 11:33 AM To: Esri/ago-assistant Cc: Radamaker, Kurt; Author Subject: Re: [Esri/ago-assistant] I want to... Copy Content - log into another account (#187)

Well, let's take a step back. What version is the destination portal?

I'm asking because user levels (which are new at 10.5https://urldefense.proofpoint.com/v2/url?u=http-3A__server.arcgis.com_en_portal_latest_administer_linux_roles.htm-23ESRI-5FSECTION1-5F08925CEF37334C619D52BC027C3C8DE1&d=DwMFaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=MgYB3cXjgaAYWGq4eVWM6SybrV__JSCM5X-l2Z-zK5Q&s=goqiwta7RMEUft6Hdmly1O-7z8oKJvVKY9KySwy5Fqg&e=) could be a factor here if your destination user was Level 1. It's possible that you cannot copy content to a Level 1 account.

Level 1 membership is for members who only need privileges to view content, such as maps and apps, that has been shared with them through the organization, as well as join groups within the organization. Level 2 membership is for members who need to view, create, and share content and own groups, in addition to other tasks.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_ago-2Dassistant_issues_187-23issuecomment-2D307189431&d=DwMFaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=MgYB3cXjgaAYWGq4eVWM6SybrV__JSCM5X-l2Z-zK5Q&s=qt8_lPwRQf0lvxA7uZQE17mfO4T92kgpEYfTk3J9cEw&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIWP7rO1QsVWzfahZB1xfbLmveSLu5e5ks5sCD5dgaJpZM4Nza-2De&d=DwMFaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=MgYB3cXjgaAYWGq4eVWM6SybrV__JSCM5X-l2Z-zK5Q&s=1p-EcsM1n_dwSXPPtPDO-rnbremOrGW_Nlj0xYLrUzQ&e=.

ecaldwell commented 7 years ago

OK, glad it's working now. What kind of authentication are your portals using? Built-in, IWA/PKI, SAML?

kradamaker commented 7 years ago

IWA/PKI

From: Evan Caldwell [mailto:notifications@github.com] Sent: Thursday, June 08, 2017 12:11 PM To: Esri/ago-assistant Cc: Radamaker, Kurt; Author Subject: Re: [Esri/ago-assistant] I want to... Copy Content - log into another account (#187)

OK, glad it's working now. What kind of authentication are your portals using? Built-in, IWA/PKI, SAML?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_ago-2Dassistant_issues_187-23issuecomment-2D307199285&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=i0XlUrvCgYOKrRT3go6NA7bv0iAy9kgHSnZJS7Hhs4s&s=k8eiBBn-zmQrysbIPprmLzqOrOOoRY0UqaQk7gbaLo4&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIWP7kXYoi7D0gPSLdu4ahNkorNqE3ONks5sCEdMgaJpZM4Nza-2De&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=i0XlUrvCgYOKrRT3go6NA7bv0iAy9kgHSnZJS7Hhs4s&s=9aLvfdFo-kUYi2S_99-kofdjI7cpHAvd70S2FMDeFr0&e=.

ecaldwell commented 7 years ago

Ok, that explains why the state of your logins made the difference. Thanks for sharing the solution!

@rwmajor2 This is something that we should document in the highly needed FAQ.

kradamaker commented 7 years ago

One of our environments is giving me a portal access error from a remote server . Do you know how I give the portal server level access.

From server stgesriweb01.repsrv.com My portal is https://qaesriweb01.repsrv.com/portal

Kurt

From: Evan Caldwell [mailto:notifications@github.com] Sent: Thursday, June 08, 2017 12:22 PM To: Esri/ago-assistant Cc: Radamaker, Kurt; Author Subject: Re: [Esri/ago-assistant] I want to... Copy Content - log into another account (#187)

Ok, that explains why the state of your logins made the difference. Thanks for sharing the solution!

@rwmajor2https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rwmajor2&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=nod3mo9kSvLxUTxu9qwCEczQ9U7_xOc8QBau-lu6HlA&s=OjvvEziCOCBKB2y_S4ry5IWUVixXm1eIs0pgYe7LCmI&e= This is something that we should document in the highly needed FAQ.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_ago-2Dassistant_issues_187-23issuecomment-2D307201966&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=nod3mo9kSvLxUTxu9qwCEczQ9U7_xOc8QBau-lu6HlA&s=vd8pJLkCtdQmkcfKq0p2835my2aPpzrVNv986hboivY&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AIWP7sE0-2Ds9x-2Do-5Fb3YfFi9rhne0jQu7mks5sCEnOgaJpZM4Nza-2De&d=DwMCaQ&c=mDGyhZvuvk998Q8jXoZ8lA3z0DKS1L90j6LdL2xh18c&r=cyJn6opxsaIWCX3pmIGBQ_0DkvK_PzZ_UyRiWBteaIg&m=nod3mo9kSvLxUTxu9qwCEczQ9U7_xOc8QBau-lu6HlA&s=ha7mrUwNvvZEUmIWIRquRqdFaI3cUVxlAUbYKQf97aA&e=.

ecaldwell commented 7 years ago

Do you know how I give the portal server level access.

You may want to look into federation.

In general, discussions in this repo should be limited to questions or problems specific to ago-assistant. If you have questions regarding general configuration or troubleshooting of ArcGIS Server, then I recommend going to GeoNet or Esri Support for more help.